2008-05-21, 08:06 AM
Hello!
I have in {$post['fid4']} something called LFS License. This all works, as you can see in the attachment.
What i want to do, is use the value of $lfsusername to echo an image of (http://www.lfsworld.net/isonline.RacerAsh3.gif) so RacerAsh3 would be substituted for $Lfsusername. Ie http://www.lfsworld.net/isonline.{$lfsusername}.gif
So if the field is empty, the image will not show. Ie Echoing. What is the php code for this?
Can someone tell me how to get around this.
Many Thanks!
Ash
I have in {$post['fid4']} something called LFS License. This all works, as you can see in the attachment.
What i want to do, is use the value of $lfsusername to echo an image of (http://www.lfsworld.net/isonline.RacerAsh3.gif) so RacerAsh3 would be substituted for $Lfsusername. Ie http://www.lfsworld.net/isonline.{$lfsusername}.gif
So if the field is empty, the image will not show. Ie Echoing. What is the php code for this?
Can someone tell me how to get around this.
Many Thanks!
Ash