note 26891 rejected from function.mysql-query by betz

From: Date: Sat, 16 Nov 2002 15:38:52 +0000
Subject: note 26891 rejected from function.mysql-query by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-39564@lists.php.net to get a copy of this message
hello.. how do i make a form to let the client 'edit' the stuff inside 'field1'? here is my code: <? mysql_connect("xxx", "xxx", "xxx") or die("CANNOT CONNECT MYSQL!"); mysql_select_db("xxx") or die("CANNOT SELECT DATABASE!"); $result=mysql_query("SELECT * FROM website WHERE id='$id'"); $resultArray=mysql_fetch_array($result); echo $resultArray['field1']; ?>

« previous php.notes (#39564) next »