![]() |
How do i get the userid from the username?
What is the easiest way to get a userid based on the username in php script? thanks.
|
The query would be:
PHP Code:
|
Could you explain a bit more please mate?
|
ah ok :)
|
How do you connect to the database??
|
Use a script like this:
PHP Code:
|
PHP Code:
|
neither worked??
|
Save mine as script.php and upload it to your forums directory and then go youforums.com/script.php. It should work
|
This page is not gonna be in the forum directory.
|
All times are GMT. The time now is 09:12 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|