Re: Variable Question

From: Date: Thu, 19 Apr 2012 15:48:17 +0000
Subject: Re: Variable Question
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-317617@lists.php.net to get a copy of this message
On 04/19/2012 09:55 AM, Christoph Boget wrote: >> I am trying to use this while look to assign them to variables: >> $word_1 >> $word_2 >> $word_3 >> ... >> $word_25 > > This should work for you: > > http://us3.php.net/manual/en/function.extract.php > > thnx, > Christoph Yes and you can use array_map('stripslashes', $row) prior. However I would just use the $row array as most people do instead of extracting. -- Thanks! -Shawn http://www.spidean.com

« previous php.general (#317617) next »