Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP and MySQL

Status
Not open for further replies.

KimHuff

Technical User
Apr 22, 2001
1
US
I am working on updating a chat room.

It is a PHP chat that uses MySQL. So far I have everything loaded and the changes made, but I am getting an SQL error. Can anyone help me with this?

The error message I am receiving is...

database error: invalid sql: SELECT * FROM chatrooms ORDER BY name
mysql error: 1146 (Table 'chat2.chatrooms' doesn't exist)
session halted.

Thanks,

Kim Huff
kim@huffamily.com

 
Well, as the message suggests, there is no table named chatrooms.

Obviously, the easiest fix to this would be to create that table.


Hope this helps.
vic cherubini
vikter@epicsoftware.com
====
Knows: Perl, HTML, JavScript, C/C++, PHP, Flash, Director
====
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top