Monkuar Posted December 6, 2011 Share Posted December 6, 2011 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 Link to comment https://forums.phpfreaks.com/topic/252573-why-is-it-calling-my-database-name-and-the-table/ Share on other sites More sharing options...
PFMaBiSmAd Posted December 6, 2011 Share Posted December 6, 2011 Is the spelling and capitalization exactly the same? If you are on a case-sensitive operating system, iNettuts and inettuts are not the same. Quote Link to comment https://forums.phpfreaks.com/topic/252573-why-is-it-calling-my-database-name-and-the-table/#findComment-1294875 Share on other sites More sharing options...
Monkuar Posted December 6, 2011 Author Share Posted December 6, 2011 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) Quote Link to comment https://forums.phpfreaks.com/topic/252573-why-is-it-calling-my-database-name-and-the-table/#findComment-1294880 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.