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 [EMAIL PROTECTED] (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.
> 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to