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

Posted by nawfer on 11/07/06 10:49

IfI want to use a query
SELECT ID
FROM table;

1) what code to use for verify if there is or not the table?

2) what is the better solution for manage error:
@query=...
A- so I not have any error at video an the code however it continues?
B- is possible to register the error @ in a file?

C- is this the better solution respect at 1, because 1
some slows down the code (it must verify every time if table is there
or not) ?

thenks

 

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

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