[PHP-DB] Brain not working, help needed :-)

2005-08-28 Thread Chris Payne
Hi there everyone, I have the following code: while ($row = mysql_fetch_array($sql_result)) { $id = $row["id"]; $video_link = $row["video_link"]; $video_thumbnail = $row["video_thumbname"]; $video_title = $row["video_title"]; $video_description = $row["vide

Re: [PHP-DB] Brain not working, help needed :-)

2005-08-28 Thread Micah Stevens
Hi Chris, You can use variable variables.. like this: $num = 2 $varname = "id".$num; $$varname = "id2 is stored here!"; It's in the docs in the variables section.. HTH, -Micah On Sunday 28 August 2005 11:45 pm, Chris Payne wrote: > Hi there everyone, > > > > I have the following code: > > > >