Reply to Re: How should i done this in PHP?

Your name:

Reply:


Posted by Michael Fesser on 06/17/07 14:21

..oO(sooseong.ng@gmail.com)

> I am a newbie and recently just delved into the scripting world of
>PHP. Currently I am doing
>a webform that consists many fields. I have three combobox with state
>selection which
>will retrieve the items from a database table called state. The
>dumbest and direct way would
>be creating a connection and querying the data each time, which means
>three connections
>connected just to querying same piece of information.

It would be just one connection and three queries. Not really a problem,
but of course you can do it just once and store the result in an array.
Then use that to create your combo boxes.

Micha

[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

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