I installed XAMPP and so far it rocks.
Winxp
I am trying to get the query result out of the database to display:
I used the following code:
$query = "SELECT *
FROM tester";
$result = mysql_query($query);
$number = mysql_num_rows($result);
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\apachefriends\xampp\htdocs\xampp\va.php on line 17
I searched on google and found nothing.
Any ideas what is going wrong?
And libs I have to set?