Hi
Yep this one is stoopid but why can't I output this information to my page. It is a simple mysql select.....
Check this out, oh I am a beginner mysql php by the way. Very green.
include ("phpmodules/dbfuncs.inc");
$link = connectToDatabase();
if(!$link)
{
print "database connection error";
mysql_close($link);
exit();
}
$query = "select * from TBArticle";
$result = mysql_query($query);
$myrow = mysql_num_rows($result);
for($i = 0; $i < sizeof($myrow); $i++)
{
echo "$myrow";
}
Mmmm really need advice with some of this stuff I think...
Thanks for any advice.