HTML and PHP
Posted: Sat Jul 20, 2002 6:10 pm
I am a newbie with PHP but I am ticked off at myself for not knowing something probably simple.
I am working on a web site.
My index.html is in FOLDER A
A picture I want to see is in Folder B
The index is simple it says to call results.php file.
The php file does a search in the database and grabs a name.
Now my problem. I want to take that name and then open the picture. In other words open the picture called "name.gif". Since I have too many "marks, what do I need to do: I have the typical html code.
<img border="0" src="MyFolder\picture.gif">
I tried with an echo but too many quotes!
thanks,
Fegero
feger585@yahoo.com
I am working on a web site.
My index.html is in FOLDER A
A picture I want to see is in Folder B
The index is simple it says to call results.php file.
The php file does a search in the database and grabs a name.
Now my problem. I want to take that name and then open the picture. In other words open the picture called "name.gif". Since I have too many "marks, what do I need to do: I have the typical html code.
<img border="0" src="MyFolder\picture.gif">
I tried with an echo but too many quotes!
thanks,
Fegero
feger585@yahoo.com