RE: [PHP] re-creating a variable name

From: Date: Fri, 05 Mar 2004 21:12:45 +0000
Subject: RE: [PHP] re-creating a variable name
Groups: php.general 
Request: Send a blank email to php-general+get-179608@lists.php.net to get a copy of this message
Cory Berry <mailto:cberry@banknorth.com> on Friday, March 05, 2004 12:45 PM said: > $query = "Update table SET StartDate='$FormStartDate.=$i ' where > id=$i"; that doesn't really make sense. using the following values: $FormStartDate = "x"; $i = "y"; the output would be: "UPDATE table SET StartDate='x.=y ' WHERE id=y" what am i missing here??? > Because $FormStartDate1 is the name of the variable, I'm trying to > recreate the name of the variable with the for loop after "edit" is > submitted. i don't understand what you mean by "recreate the name of the variable". chris.

« previous php.general (#179608) next »