Jump to content

Doesn't Exists


Cooper94

Recommended Posts

I have a question, why do you expect to be querying tables that might not exist? Do you have tables that get deleted? Once your application has been installed the tables it needs will exist and your code won't be in a position of querying a table that does not exist.

 

Your application should know what tables it uses and if you are doing something like dynamically creating tables to hold information that is the same type you already have a table for, don't create a separate table for it, use the existing table.

Link to comment
https://forums.phpfreaks.com/topic/144682-doesnt-exists/#findComment-759261
Share on other sites

I have a question, why do you expect to be querying tables that might not exist? Do you have tables that get deleted? Once your application has been installed the tables it needs will exist and your code won't be in a position of querying a table that does not exist.

 

Your application should know what tables it uses and if you are doing something like dynamically creating tables to hold information that is the same type you already have a table for, don't create a separate table for it, use the existing table.

 

 

Maybe he is a web host, and allows users one+ tables?

Link to comment
https://forums.phpfreaks.com/topic/144682-doesnt-exists/#findComment-759275
Share on other sites

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.