[PHP-DB] Re: Problem with mysql and php

2012-01-08 Thread Jim Giner
Sounds to me like you really need to study database design. 30 years of doing it professionally, never heard of a design that involved what you are suggesting. Good luck! -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: Problem with mysql and php

2011-11-29 Thread David Robley
Jason Pruim wrote: > Given the following 2 queries: > > "SELECT DISTINCT areacode FROM main WHERE state = '{$query_exploded[0]}'"; > > "SELECT DISTINCT areacode FROM main"; > > The second displays ALOT faster Like by minutes... the first one is > what I really want though Currently work