₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,344,814 members, 8,513,818 topics. Date: Thursday, 05 November 2026 at 03:08 PM

Toggle theme

Dammy009's Posts

Nairaland Forum › Dammy009's Profile › Dammy009's Posts

1 (of 1 pages)

Webmasters › Problems With Mysql by dammy009(op): 2:46pm On Jan 28, 2009
hello,
i want to echo out the tables in a database, my code is:

mysql_connect("localhost", "tables", ""wink or die(mysql_error());
echo "connected to database";

mysql_select_db("today"wink or die(mysql_error());
echo "Connected to database<br>";
$tables=mysql_list_tables("today"wink;

if ($tables ==""wink{
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
Jobs/Vacancies › Systemspecs.com.ng: What Is The Problem by dammy009(op): 10:52am On Jan 24, 2009
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)