On Mon, Jul 13, 2009 at 19:28, Govinda<[email protected]> wrote:
>
> $db_billing=mysql_connect(localhost,metheuser,mypass,billing);
> if (!$db_billing) { die('Could not connect: ' . mysql_error()); }
if(!mysql_select_db('dbname',$db_billing)) die(mysql_error());
> //$sql = "SHOW TABLES FROM billing LIKE 'mytable'";
> $sql = "SHOW TABLES"; //line 237
The fourth parameter you have in mysql_connect() only evaluates
within the engine as a boolean True statement. RTFM to see why. ;-P
--
</Daniel P. Brown>
[email protected] || [email protected]
http://www.parasane.net/ || http://www.pilotpig.net/
Check out our great hosting and dedicated server deals at
http://twitter.com/pilotpig
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php