Dammy009's Posts
Nairaland Forum › Dammy009's Profile › Dammy009's Posts
1 (of 1 pages)
hello, i want to echo out the tables in a database, my code is: mysql_connect("localhost", "tables", "" or die(mysql_error());echo "connected to database"; mysql_select_db("today" or die(mysql_error());echo "Connected to database<br>"; $tables=mysql_list_tables("today" ;if ($tables =="" {echo "this database does not have a table"; exit; }else { echo $tables; } the result i am getting is connected to database Connected to database Resource id #3 the last line is the problem, please can anyone help me sort out what the problem is? i am using phpmyadmin to connect php to mysql. pleasee |
Please can someone help me out with the systemspecs website!! It's supposed to be www.systemspecs.com.ng but the website is not loading. nd i can't locate it on whois. Please is there a way i can submit my CV to them. This is very important |
1 (of 1 pages)
or die(mysql_error());