Please help.
| From: | Ben Houlton | Date: | Sun, 15 Jun 2003 11:46:54 +0000 |
| Subject: | Please help. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-151565@lists.php.net to get a copy of this message | ||
How do I get a DB table open easily?
So far, I've been using a metod that sometimes works and some times doesn't,
I just want to know the easy way to do it.
My code of what I'm doing now is below:
$db = mysql_connect("localhost","root");
mysql_select_db("misc",$db);
$result = mysql_query("SELECT * FROM replace");
$row = mysql_fetch_array($result);
Thank you for your time.