Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MySQL - testing
#2
Website is the name of the database? I think that won't work...

Try this:
$db = mysql_connect ('localhost', '$user', '$password');
mysql_select_db('website', $db);
$data = mysql_query (SELECT * FROM content WHERE x = 'page01');
mysql_close ($db);
Replace x with the name of the table column.
Greets,
Michael
-------------
[Image: donation_drive_sig.png]


Messages In This Thread
MySQL - testing - by Simulationcity - 2006-01-24, 09:25 PM
RE: MySQL - testing - by Michael S. - 2006-01-24, 10:35 PM
RE: MySQL - testing - by Simulationcity - 2006-01-24, 11:52 PM
RE: MySQL - testing - by Michael S. - 2006-01-25, 09:51 AM
RE: MySQL - testing - by Simulationcity - 2006-01-25, 04:45 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)