Okay, php is being a complete bitch to me right now and I for the life of me can't figure out why this code won't display like I think it should.
Here's the code that I can get to work exactly like I want it to.
And here's the code that I cannot get to display correctly.
If you guys are wondering how $value is being set, here's the entire block of code its being used it.
Here's the code that I can get to work exactly like I want it to.
PHP:
echo '<input type="text" name="Avatar '.$int.'" class="" onclick="" value="<center><a href="'.$siteURL.'"><img src=""><br />'.$siteDescription.'</a></center>"><br /><br />';
PHP:
echo '<input type="text" name="Avatar '.$int.'" class="" onclick="" value="<center><a href="'.$siteURL.'"><img src="'.$value.'"><br />'.$siteDescription.'</a></center>"><br /><br />';
PHP:
foreach ($imgURL as $value) {
echo '<img src="'.$value.'"><br />';
echo 'Copy & Paste the Code Below to your Profile or Comment Box<br />';
echo '<input type="text" name="Avatar '.$int.'" class="" onclick="" value="<center><a href="'.$siteURL.'"><img src=""><br />'.$siteDescription.'</a></center>"><br /><br />';
$int++;
}