Hi all,
I am trying to list the tables using Show Tables. I don't get a list of tables, I get "id resource #3"
Anyone know about this?
Here is the code:
<?php
$connection=mysql_connect(myIP, myname, mypassword) or die ('unable to connect');
mysql_select_db("mydb", $connection);
$ssql="Show Tables";
$result=mysql_query($ssql,$connection);
echo $result;
mysql_close($connection);
?>
Thanks,
KB
I am trying to list the tables using Show Tables. I don't get a list of tables, I get "id resource #3"
Anyone know about this?
Here is the code:
<?php
$connection=mysql_connect(myIP, myname, mypassword) or die ('unable to connect');
mysql_select_db("mydb", $connection);
$ssql="Show Tables";
$result=mysql_query($ssql,$connection);
echo $result;
mysql_close($connection);
?>
Thanks,
KB