Reply to Re: from mysql to php

Your name:

Reply:


Posted by J.O. Aho on 01/22/07 14:21

Lorenzo Bettini wrote:

>> You can even take this a level higher and include checks in the
>> regular php code that checks if the database is up to date if a sql
>> query fails, if it notice that the database isn't of the right format,
>> it updates the database and then redo the sql query, this way the user
>> don't have to run any update.php or run a sql file.

> yes, but this would perform the check for every sql query... it might
> have too much overhead...

You can do as many of the portal systems does, provide a script that updates
from previous version to current version, if someone has skipped an update,
then it's kind of their problem.

--

//Aho

[Back to original 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

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