Archive for September, 2008
Connect to a MySQL server using PHP

So I’m starting to get into using PHP to return MySQL database data to my SWF apps and there for need some super simple code to generate the returns (XML). So with that in mind here is my example of how to connect to a MySQL server using PHP, I’ve tried to make it self explanatory. Hopefully my copy and paste from TextMate will not give me any character encoding errors.

(more...)

CSS a: link order for correct display rendering

We all love to customize the look of a href links here is the correct order they should appear in a StyleSheet to work without display problems.

 
a:link
a:visited
a:hover
a:active
 

(more...)