Re: [PHP] help with eval problems...

2002-07-06 Thread Paul Roberts
On Fri, 5 Jul 2002, Kelly Meeks wrote: If I had this information stored in a database field, img src=? echo $content_output[site_logo]; ? how could I assign it to a variable and output it? you have to ? first to leave php mode so you can do $content_output = logo.gig; $code = img

[PHP] help with eval problems...

2002-07-05 Thread Kelly Meeks
If I had this information stored in a database field, img src=? echo $content_output[site_logo]; ? how could I assign it to a variable and output it? I've gone thru the info on eval() php.net, but it's not getting thru my skull very well. I keep getting errors I can't correct. Can anyone

Re: [PHP] help with eval problems...

2002-07-05 Thread Miguel Cruz
On Fri, 5 Jul 2002, Kelly Meeks wrote: If I had this information stored in a database field, img src=? echo $content_output[site_logo]; ? how could I assign it to a variable and output it? I'm not sure that you can eval() HTML. Perhaps if your cell contained: echo img