Database not working

Status
Not open for further replies.

matchu

New Member
Messages
12
Reaction score
0
Points
0
Hey,

Why can't I run mySQL queries?

PHP:
<?php
mysql_query('SELECT * FROM table WHERE 1=1');
?>

It gives an error about the database not being connected. What's with that?

EDIT: Aheh. Including mysql_connect() may have helped >_< Thanks anyways.
 
Last edited:

Dan

Active Member
Messages
1,258
Reaction score
0
Points
36
Seems you found out yourself then :)

*CLOSED*
 
Status
Not open for further replies.
Top