Re: Am I missing something?

From: Date: Sun, 28 Jan 2007 02:29:26 +0000
Subject: Re: Am I missing something?
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-42996@lists.php.net to get a copy of this message
Hi you need to change this: > $insert = 'INSERT INTO domains ( picture, thumbnail ) values( "$picture", > "$thumbnail")'; to be: $insert = "INSERT INTO domains ( picture, thumbnail ) values( '$picture', '$thumbnail')"; variables are only interpreted inside double quoted strings. Within single quotes, everything is taken exactly as it appears. Niel

« previous php.db (#42996) next »