[PHP] Need help to understand a code

2012-09-22 Thread Ashickur Rahman Noor
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

Re: [PHP] Need help to understand a code

2012-09-22 Thread Stefan Wixfort
On 22.09.2012 12:34, Ashickur Rahman Noor wrote: 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){