Local to Global Variables

From: Date: Thu, 11 Apr 2002 08:16:44 +0000
Subject: Local to Global Variables
Groups: php.db 
Request: Send a blank email to php-db+get-18417@lists.php.net to get a copy of this message
Not 100% DB related but soon I am processing a text file by looking for strings which later depending on the findings will be submitted to db my problems is that in one if statemant I find a piece of text and need another statment to use it later, but it seems that the variable declared to the found string remains local. Is there a way to set variables from within functions/if statements so they become available to all. Thnaks in advance R>

« previous php.db (#18417) next »