Re: I give - Whats wrong

From: Date: Wed, 24 Jan 2001 23:34:49 +0000
Subject: Re: I give - Whats wrong
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-36521@lists.php.net to get a copy of this message
I don't think you need the \=, just the = should do. Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: jeremy@nirvani.net http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "LINUX is obsolete" -- Andy Tanenbaum, January 29th, 1992 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - http://www.JEEP-FOR-SALE.com/ -- I need a buyer Get your own Free, Private email at http://www.smackdown.com/ On Wed, 24 Jan 2001, Karl J. Stubsjoen wrote: > Date: Wed, 24 Jan 2001 16:34:41 -0700 > From: Karl J. Stubsjoen <karlflips@kstub.com> > To: PHP Mailing List <php-general@lists.php.net> > Subject: [PHP] I give - Whats wrong > > I've tried and tried to figure out what is wrong with this function, but I > can't. Could you please have a look. This function reconstructs the > querystring values passed in the querystring: > > function PassOnGetVars() { > global $HTTP_GET_VARS; > #initialize retrn value > $retrn = "?"; > > #loop through each Get Var > reset ($HTTP_GET_VARS); > while (list($VariableName, $VariableValue) = each ($HTTP_GET_VARS)) > { > retrn =. "$VariableName\=$VariableValue"; > retrn =. "&"; > } > > #return the value > return($retrn); > } > > I've tried both versions of =. and .= (struggling to remember which is > correct. But this isn't the error, I get the same error regardles of the .= > The error I get is line 60 (which is) > > retrn .= "$VariableName=$VariableValue"; > > Thanks! Karl > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#36521) next »