note 4852 deleted from mysql_select_db by danbeck
| From: | danbeck@php.net | Date: | Thu, 07 Sep 2000 18:24:00 +0000 |
| Subject: | note 4852 deleted from mysql_select_db by danbeck | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4435@lists.php.net to get a copy of this message | ||
Im a php/MySQL newbie myself and im learning stuff as a go along and from all the tutorials on the
net, i hope the following example helps:
<pre>
mysql_connect()or die ("Problem connecting to DataBase");
$query = "YOUR SQL QUERY GOES HERE";
$result = mysql_db_query("DBname", $query);