|
Warning: supplied argument is not a valid MySQL result resource in /home/amopopo/public_html/db.php on line 7
Rows
這是怎么一回事?以下是我原本的code:
[code]
<?php
$link = mysql_connect("localhost", "amopopo_amopopo", "tinmouse18");
mysql_select_db("amopopo_payment");
$result = mysql_query("SELECT * FROM user", $link);
$num_rows = mysql_num_rows($result);
echo "$num_rows Rows\n";
?> code] |
|