Using the techinques in this thread http://www.wickedfire.com/design-de...ellent-php-tips-tricks-techniques-follow.html I'm rewriting some of my code and I can't get the variable to populate in the <img> tag. Can anybody tell me why?
PHP:
<?php
$file = fopen("http://www.example.com/urls.txt", "r") or exit("Unable to open file!"); //Output a line of the file until the end is reached
echo "</center>";
while(!feof($file))
{
$strURL = fgets($file);
?>
<img src='<?php $strURL ?>'><br />
Copy & Paste the Code Below to your Profile or Comment Box<br />
<input name="code" type="text" /><br />
<br />
<br />
<?php
}
fclose($file);
echo "</center>";
?>