note 39593 deleted from function.msql-fetch-row by vincent

From: Date: Tue, 03 Feb 2004 17:20:37 +0000
Subject: note 39593 deleted from function.msql-fetch-row by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-64607@lists.php.net to get a copy of this message
Note Submitter: webmaster@forbbs.net ---- // DB CONNECT $con=mysql_connect("localhost","okman","whywhat") or die("DB ERR MSG: ".mysql_error()); // QUERY $qry="select * from test LIMIT 1"; $ret=mysql_query($qry,$con); // PRINT if($ret) { $row=mysql_fetch_row($ret); echo $row[0]."<BR>"; echo $row[1]."<BR>"; echo $row[2]."<BR>"; } else { echo mysql_error(); exit(); } hmm..... TEST Source... --;

« previous php.notes (#64607) next »