Here's the deal...
I have a php function that I call:
<? imagesize('image.jpg','image text'); ?>
at the end of the php function some javascript outputs a link based on some dynamic variables established from the function.
When I simply do this within my php page works great!!! :rolleyes:
However, when the function call is extracted from a mysql data field, it does NOT render?
For example...when rendered via my .php page (this is correct!):
<a href="javascript:showimage('image.jpg','511','343')">image text</a>
When rendered html via .php from mysql table query:
<? imagesize('image.jpg','image text'); ?>
What's happening that causes these to work differently?
Isn't the output from the mysql getting rendered as php/html the same way?
Thanks much!