You are here: Re: call a query but if not exist table how manage error? « All PHP « IT news, forums, messages
Re: call a query but if not exist table how manage error?

Posted by Steve on 11/07/06 22:10

"nawfer" <novalidsforspam@alt.al> wrote in message
news:148q3v2s21056.ezwwuiryiq2e$.dlg@40tude.net...
|> we could all give you better advice, if you were more descriptive of why
you
| > are trying to do this.
|
| the table is installed by an external module; so if a not expert user
| uninstall accidentally a module I not want print any error, but run
| normally the code. In the 95% of the case I think this is not will be a
| problem, but I want manage possible error

if that's the case, then your php website should have a setup module too.
one that checks for the tables that exists and their structures. this should
ONLY be done once!

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация