Hi Group!

I'm an old PHP/MySQL developer that has spent a few years away from
web development.  I'm back into the game and I'm already hit with
issues.  I'm deciphering/repairing someone else's code and I have a
lot of these:


$sqlResult = mySQL_exec($query)
while($sqlData = mysql_Fetch_array($sqlData) ) {
   foreach($sqlData as $key=>$value) {
       $$key = $value;
   }
}


This is the best I would know how to do it.  Is there a faster/better
way to create variables?

Thanks in advance

Reply via email to