newbie: why doesn't this work?

From: Date: Mon, 21 May 2001 19:55:24 +0000
Subject: newbie: why doesn't this work?
Groups: php.db 
Request: Send a blank email to php-db+get-9511@lists.php.net to get a copy of this message
this works, but it doesn't like to retrieve the data, the intention of this is that it just returns all the links... but it loves to return errors... =========================================== <?php $link = mysql_connect($path,$log,$pass) OR DIE("can't connect"); mysql_select_db("blackstars", $link) or die( "can't select db"); $query = "SELECT * FROM persoon"; $result = mysql_query($query); for ($count = 1; $row = mysql_fetch_object ($result) ; ++$count) echo "$count : $row->voornaam , $row->achternaam <br>"; } ?> ===================================================

« previous php.db (#9511) next »