Need help to understand a code
| From: | Ashickur Rahman Noor | Date: | Sat, 22 Sep 2012 10:34:17 +0000 |
| Subject: | Need help to understand a code | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-319192@lists.php.net to get a copy of this message | ||
Hi all
I need some help to understand a code. The code is like this
$result = mysql_query($sSQL) or die("err: " . mysql_error().$sSQL);
> if($row = mysql_fetch_array($result))
> {
> foreach($row as $key =>$value){ $$key=$value;}
> }
>
I don't get the code from the foreach loop.
----------------------------------------------------------
Dedicated Linux Forum in Bangladesh <http://goo.gl/238Ck>
2048R/89C932E1 <http://goo.gl/TkP5U>
Coordinator - Public Relation Cell, FOSS Bangladesh
<http://fossbd.org/> && Mozilla
Reps <http://reps.mozilla.org>
01199151550, 01551151550