Don't worry, neither is your teacher if he's got you using mysql_ functions. Check out this video on using PDO (PHP Data Objects) which is the correct way to interact with databases, and I think it may solve all of your problems. If not check out the sessions video on the second link to cover the rest of what you're doing.http://jream.com/learning/videos/php-oo ... o-examples