On Mon, Jul 13, 2009 at 19:28, Govinda<govinda.webdnat...@gmail.com> 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>
daniel.br...@parasane.net || danbr...@php.net
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

Reply via email to