| 
	
 | 
 Posted by Stephen Kay on 03/29/06 10:23 
I thought from my brief reading about eval() that you could take an html 
file that had some php variables in it, such as placeholders for links, and 
then turn it into an html version with the correct links, by doing something 
like: 
 
$html = implode('', file('http://www.mysite.com/transbar.html')); 
 
// populate variable names with links 
 
eval ("\$html = \"$html\";"); 
echo $html; 
 
 
....but I get parse errors from eval. Obviously it's not that simple...? 
 
--  
Stephen Kay 
Karma-Lab   sk@karma-lab.NOSPAM.com 
                        ^^^^^^^
 
  
Navigation:
[Reply to this message] 
 |