Code shown below is working in chrome and IE, but not in firefox
<img src="images\<? echo $photo_link;?>">
here $photo_link will have values like user.jpg and images is the folder containing images.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to change your backslash (
\) to a forward slash (/) because those are the slashes that are supposed to be used in web addresses.Browsers such as Internet Explorer fix the mistake of using backslashes for you, but FireFox does not. Consequentially, FireFox does not resolve your image path correctly.
Corrected Code: