So, I was transferring an SQL database to another website today and I did everything the way I should have but the site keeps giving me a weird error. Database error: Invalid SQL: SELECT id FROM stats WHERE date='20/05/11' MySQL Error: 1146 (Table 'webestat_site.stats' doesn't exist) Session halted. Code (markup): It is telling me the table doesn't exist but I checked in the SQL database and the table is there. If anybody could help me that would be great.
Are you querying the correct database? You may need to switch databases if stats is not in the webestat_site database.
Hi friend , Please refresh your data base and if it will be not working then please create again that DB.