Adam -- ...and then Adam Williams said... % % If I have the SQL statement: % % $sql = "select subject from subwhile where subject = '*$var[0]*'"; % % do I need to put a \ before each '?
1) You should have just tried it. 2) No. You owe the Newbie Guide a paragraph on quoting and escaping. HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Health" http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
pgp00000.pgp
Description: PGP signature