note 16800 added to function.msql-query

From: Date: Wed, 14 Nov 2001 09:27:00 +0000
Subject: note 16800 added to function.msql-query
Groups: php.notes 
Request: Send a blank email to php-notes+get-20822@lists.php.net to get a copy of this message
an example to use the msql_query function : $sock = msql_connect("dbserver") or die("can not connect !!");; msql_select_db("db",$sock) or die("database not found"); $query = msql_query("SELECT * FROM table WHERE id=1",$sock); while($row = msql_fetch_array($query)) { echo $row["id"]; } greets sco -- http://www.php.net/manual/en/function.msql-query.php http://master.php.net/manage/user-notes.php?action=edit+16800 http://master.php.net/manage/user-notes.php?action=delete+16800 http://master.php.net/manage/user-notes.php?action=reject+16800

« previous php.notes (#20822) next »