Re: Please help.
| From: | Thomas Seifert | Date: | Sun, 15 Jun 2003 13:56:43 +0000 |
| Subject: | Re: Please help. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-151567@lists.php.net to get a copy of this message | ||
That doesn't tell much.
The way you'r using should work.
What happens if it doesn't work?
Thomas
On Sun, 15 Jun 2003 21:46:54 +1000 kaoru_cut@hotmail.com (Ben Houlton) wrote:
> 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.
>