in reply to Hacker Proofing My First Script

Do NOT quote the quote-symbols ('") automatically with backslashes in your input(!)-routine. One day you may want to create a table with data from the user. I learned it the hard way (phpmyadmin with magic-quotes on). Btw you forgot to quote the \