Page 1 of 1

IMG not showing in FF but does in IE

Posted: Mon Feb 27, 2006 9:30 pm
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.

Posted: Mon Feb 27, 2006 9:32 pm
by Fractal
Just a question, but is there any actual reason why you use \ for your folders instead of /?

Posted: Mon Feb 27, 2006 9:39 pm
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!

Posted: Mon Feb 27, 2006 9:40 pm
by Fractal
Heh.. No problem =P