Zend - The PHP Company




Code Gallery: tlongren


Alternate row color from MySQL query  

Type: code fragment
Added by: tlongren
Entered: 26/12/2000
Last modified: 01/12/2000
Rating: **** (8 votes)
Views: 16559
This code puts results from a mysql_query into rows and the colors of the rows alternate. Useful for displaying information such as schedules or lists.


Populate dropdown box with MySQL table fields  

Type: code fragment
Added by: Tlongren
Entered: 25/11/2000
Last modified: 01/12/2000
Rating: **** (5 votes)
Views: 9753
Populate a form dropdown box with field names from a MySQL table.




Search