RE: [PHP] set variable to go outside scope

From: Date: Thu, 05 Jan 2006 19:28:01 +0000
Subject: RE: [PHP] set variable to go outside scope
Groups: php.general 
Request: Send a blank email to php-general+get-228228@lists.php.net to get a copy of this message
[snip] They key I am using to find the record I want to delete is the the $row[id], but that is out of the scope of where the variable is set. Is there a way to set a variable so that it goes outside the scope? [/snip] What do you mean by "out of the scope of where the variable is set"? If the $row[id] is data in the database (which it should be) it is not a scope issue at all.

« previous php.general (#228228) next »