Jump to content

why is it calling my database name and the table?


Monkuar

Recommended Posts

mysql_query("SELECT $field FROM iNettuts WHERE user_id='1'") or die (mysql_error());

 

And I have a table named iNettuts.... in my database, my db is called "forum"

 

But I get the error...

 

 

 Table 'forum.iNettuts' doesn't exist

 

Makes no sense? This works on localhost, but when I transfer to a life server on my VPS, it seems to bring this error. any idea? ty

  Quote

Is the spelling and capitalization exactly the same? If you are on a case-sensitive operating system, iNettuts and inettuts are not the same.

 

Wow.. LOL I guess that fixed it, the table was all lowercase, but I had it the I uppercase,

 

This instantly fixed the my problem, I am very happy.

 

Kudo's sir..

 

stupid debian 32bit compared to my windows os lol (on localhosT)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.