Archive | MySQL RSS feed for this section

Relationships Can Be Tough

Relationships can be tough but, if you think them through, they may not be as complicated as you thought.  I’m talking about database relationships, of course.  If your site is using databases, you want to plan before you start coding.  You want to keep thing that are related together, if possible, and things that are […]

Leave a comment Continue Reading →

I Object – Part 2

I was thinking of writing a little tutorial on PHP objects but there is an excellent one available at Nettuts.  As a brief example though, PHP is frequently used to connect to a MySQL database.  In the past, I would have used code such as this example also from Nettuts: mysql_connect(‘localhost’, ‘username’, ‘password’) or die(‘Could […]

Leave a comment Continue Reading →