"two things i would recommend before disecting your code. 1. write readable queries.
GOOD: $sql = " SELECT name , age , height , etc FROM user WHERE name = '$name' AND height = '5'"; 2. always put single quotes around array keys. $array['key']" 1. how were those queries unreadable?? and 2. whenever i put '' around the array keys in multi dimensional arrays in a query i get a parse error of trying to use undefined keys or it doesnt expand the array all the way... and 3. when i used the {} on the arrays and the '' around the keys all i got was parse error because of the '' around them... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php