With the if statement I thought the second ' ' 's meant like the else statement so if statement did not match it would output the second text? So if direction was the field and you had left and right. left = your left handed right = your right handed. so 'your left handed' , 'your right handed' But it appears the statement used does not work that way which I was told it would. :( J Find local movie times and trailers on Yahoo! Movies. http://au.movies.yahoo.com -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php