davehardy Posted June 15, 2009 Report Posted June 15, 2009 I added 5 or 6 awards and images to them but they dont show when i "award" them lol Any known issues? Cheers, Dave. Quote
davehardy Posted June 15, 2009 Author Report Posted June 15, 2009 <li><?php echo $award->name ?></li> I edited to <li><?php echo $award->image ?></li> and now the full url to the image shows, so im guessing it needs some other variable to fetch the image? Quote
Administrators Nabeel Posted June 16, 2009 Administrators Report Posted June 16, 2009 You have to put it in an image tag <img src="<?=php echo $award->image?>" /> Quote
davehardy Posted June 16, 2009 Author Report Posted June 16, 2009 <ul> <?php foreach($allawards as $award){ ?> <li><img src="<?=php echo $award->image?>" /></li> <?php } ?> </ul> Like that? because i get an error on the page with that Parse error: syntax error, unexpected T_ECHO, expecting ',' or ';' in /home/easternv/public_html/eva/lib/skins/eva/profile_main.tpl on line 79 Quote
Administrators Nabeel Posted June 16, 2009 Administrators Report Posted June 16, 2009 <?=php Should be <?php Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.