Please always CC the mailing list so others can learn and also contribute answers.
Also please don't top-post as it makes it hard to follow discussions. Richard Dunne wrote:
I am using MySQL and retrieving a single column which consists of single digit integers. I have been doing a lot of chopping and changing of my code. $query ="Select answer from answers where studentID ='A123456789'";
What do you get if you run this query manually through phpmyadmin or a similar tool?
-- Postgresql & php tutorials http://www.designmagick.com/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php