Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #72.8K
~2K People Reached
Favorite Forums
Favorite Tags

2 Posted Topics

Member Avatar for MWEB

<?php $link = mysql_connect("localhost", "mysql_user", "mysql_password"); mysql_select_db("database", $link); $result = mysql_query("SELECT * FROM table1", $link); $num_rows = mysql_num_rows($result); echo "$num_rows Rows\n"; ?> This is an example on [php.net](http://at1.php.net/manual/en/function.mysql-num-rows.php): "search for *mysql_num_rows* in the *function list*" It works fine for me only there is no *WHERE id='$searchfor'* (*The query string should …

Member Avatar for Jan_2
0
955
Member Avatar for didi00

The End.