Answer the question
In order to leave comments, you need to log in
How to find out the id of other users?
Hello, I have this script in my code
$link=mysqli_connect("localhost", "root", "", "test");
$query = mysqli_query( $link, "SELECT * FROM `users`" );
$userdata = mysqli_fetch_assoc($query);
echo "Номер: ".$userdata['user_id']."<br>\n";
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question