Re: trying to dump out table info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 13, 2009 at 20:17, Govinda<govinda.webdnatalk@xxxxxxxxx> wrote:
>
> Dan, I am really making the effort..  despite how it may look.

    I believe you.  I sent you the function and code that should work
for you, but it may have been lost in the chopped replies.  So it'll
be something like this:

<?php
$host = 'localhost';
$user = 'user_name';
$pass = '123';
$db_name = 'my_database';

$link = mysql_connect($host,$user,$pass);
$conn = mysql_select_db($db_name,$link);

$sql = "SHOW TABLES";
$result = mysql_query($sql);
// ....
?>

-- 
</Daniel P. Brown>
daniel.brown@xxxxxxxxxxxx || danbrown@xxxxxxx
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



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux