Zend - The PHP Company




Code Gallery: anderson


Authentication with PHP and MySQL  

Type: code fragment
Added by: anderson
Entered: 05/03/2000
Last modified: 08/12/1999
Rating: **** (9 votes)
Views: 15699
You may use this code to authenticate users to view some page. The password field on MySQL should be entered as password("somepasshere"), to increase the security of the datas.


Function to alternate background color of rows  

Type: code fragment
Added by: anderson
Entered: 05/03/2000
Last modified: 08/12/1999
Rating: ** (5 votes)
Views: 7664
This example shows a table with 15 rows. Each row alternates the background color between light blue and dark blue.




Search