You are here: Re: PHP / Javascript menu list population « PHP Programming Language « IT news, forums, messages
Re: PHP / Javascript menu list population

Posted by R. Rajesh Jeba Anbiah on 10/29/05 20:25

bigfella wrote:
> Hello Folks,
>
> I would like a web page to have 2 menu lists
>
> The contents of the second menu list depending on the selection made in
> the first.
>
> The contents of the second would be populated from a database.

The simple solution is to hack other source codes and google it
<http://home.att.net/~codeLibrary/HTML/dropdown.htm> Possibly the
easiest way to do is to generate the JavaScript code using PHP (the
multi-dimensional array) as in the above link. But, if there is lot of
data, the browser may run out of memory. In that case, as Colin
suggested AJAX techniques might help.

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

 

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

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