IMG not showing in FF but does in IE

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
onalaska98
Forum Newbie
Posts: 5
Joined: Wed Jun 08, 2005 9:11 pm

IMG not showing in FF but does in IE

Post by onalaska98 »

Entire echo line:

Code: Select all

echo "<strong>Name:</strong> $name <br><strong>Address:</strong> $address $city $state, $zip<br><strong>Phone:</strong> $phone <strong>Fax:</strong> $fax<br><strong>URL:</strong> <a target=\"_blank\" href=\"$url\">$url</a><br><img border=\"0\" src=\"images\LocationSubmitUpdate.gif\" alt=\"Submit Update for $name\"><br><br>";
Image tag

Code: Select all

<img border=\"0\" src=\"images\LocationSubmitUpdate.gif\" alt=\"Submit Update for $name\">
Any ideas why in FF I would only get the alt text instead of the image? The image shows correctly in IE, with the alt on mouseover.
This is PHP Version 4.3.11 and apache 2.
User avatar
Fractal
Forum Commoner
Posts: 54
Joined: Tue Aug 16, 2005 1:28 pm

Post by Fractal »

Just a question, but is there any actual reason why you use \ for your folders instead of /?
onalaska98
Forum Newbie
Posts: 5
Joined: Wed Jun 08, 2005 9:11 pm

Post by onalaska98 »

Fractal wrote:Just a question, but is there any actual reason why you use \ for your folders instead of /?
Because I am a goof, and that actually was the typo as to why my image wasn't showing ;) Thanks for questioning that!
User avatar
Fractal
Forum Commoner
Posts: 54
Joined: Tue Aug 16, 2005 1:28 pm

Post by Fractal »

Heh.. No problem =P
Post Reply