Relational mySQL in PHP

From: Date: Tue, 01 Aug 2000 03:12:56 +0000
Subject: Relational mySQL in PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-9619@lists.php.net to get a copy of this message
Hey all Okay, Maybe this is a mySQL question.. sorry if it is. What I have is a primary table, in this table, I want to store certain references to rows in other tables. What's the best way to do this using PHP? Is there a better way to do it using pure mySQL? John -----Original Message----- From: Chris Adams [mailto:chris@digitaria.com] Sent: Tuesday, August 01, 2000 11:10 PM To: php-general Subject: Re: [PHP] Check input against list > The countries array is 232 entries, states 59. > I'm not sure it's worth putting into the DB. That's definitely small enough to include inline, particularly as the list of states and countries isn't going to change frequently. I used a MySQL table largely because I had a couple of tables & queries where an abbreviation -> full name lookup table came in handy; absent such reuse it's probably not worth the effort. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#9619) next »