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

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.