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, > "> > > 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 = ""; eval("?>$code"); which will echo the

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, > "> > > 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 "" you would have better luck. Don't quote me on it though