You are here: Re: multiple forms within a Switch statement « PHP Programming Language « IT news, forums, messages
Re: multiple forms within a Switch statement

Posted by Alvaro G Vicario on 05/17/05 17:53

*** Angelos wrote/escribió (Tue, 17 May 2005 12:59:09 +0000 (UTC)):
> The problem is that I don't know what is the best way of making the forms.
> At the moment I create a new PHP file for add_page.php, add_student.php,
> add_news.php, edit_page.php list_page.php and so on.

Keep it simple.

Keep it simple unless you're building a huge site like "Amazon.com". Your
approach looks good to me. It'd only change it if I were duplicating code,
and in the latter case you might solve it moving code to common
classes/functions.


--
-- Álvaro G. Vicario - Burgos, Spain
-- http://bits.demogracia.com - Mi sitio sobre programación web
-- Don't e-mail me your questions, post them to the group
--

 

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

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