[PHP-DB] msql_numrows HELP please !!!

2001-04-06 Thread Bigbosss
Hi, I'm a beginner in PHP dev, and i have find how to connect a DB and select a TABLE. But i search a example to ahve the numbre of ligne in a rows on my table. my table is : date author subject contents i want to print each rows with HTML tag like this : dateauthor subject

Re: [PHP-DB] msql_numrows HELP please !!!

2001-04-06 Thread Johannes Janson
Hi, ?php $dbhost = "yourhost"; $dbuser = "youruser"; $dbpass = "yourpassword"; $dbname = "name_of_DB"; $connection = mysql_connect("$dbhost, $dbuser, $dbpass") or die ("can't connect"); $database = myslq_select_db($dbname) or die ("can't select DB"); $result = mysql_query("SELECT * FROM