note 29499 added to ref.mysql

From: Date: Sat, 15 Feb 2003 16:22:58 +0000
Subject: note 29499 added to ref.mysql
Groups: php.notes 
Request: Send a blank email to php-notes+get-44006@lists.php.net to get a copy of this message
The reason it didn't work was because you just used: mysql_query("...... $var[$var2[$var3]]...."); and not mysql_query("...... ".$var[$var2[$var3]]."...."); Let's say: $var3 = "example"; $var2["example"] = "ex2"; $var["ex2"] = "realoutput"; In the first example, the query sent to mysql will be "....... Array[Array[example]]...." and in the second one: "....... realoutput...." -- http://www.php.net/manual/en/ref.mysql.php http://master.php.net/manage/user-notes.php?action=edit+29499 http://master.php.net/manage/user-notes.php?action=delete+29499 http://master.php.net/manage/user-notes.php?action=reject+29499

« previous php.notes (#44006) next »