escaping ' when inside a " "

From: Date: Mon, 17 Nov 2003 21:20:15 +0000
Subject: escaping ' when inside a " "
Groups: php.general 
Request: Send a blank email to php-general+get-170014@lists.php.net to get a copy of this message
If I have the SQL statement: $sql = "select subject from subwhile where subject = '*$var[0]*'"; do I need to put a \ before each '?

« previous php.general (#170014) next »