note 88462 deleted from function.mysql-query by danbrown
| From: | danbrown@php.net | Date: | Sun, 25 Jan 2009 17:04:01 +0000 |
| Subject: | note 88462 deleted from function.mysql-query by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-149761@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
//mysql_query examble from Einar
$datatable="yourdatatable";
$id_top"youritemid";
$result_1 = mysql_query("SELECT * FROM $datatable where id='$id_top'");
while ($myrow = mysql_fetch_array($result_1)) {
$price = $myrow["price"];
echo"$price";
} // end while