yuk, I don't want that
I want it to say:
The Man's House
when it is echoed
not
The Man\'s House
The script is just a real simple image viewer, in which a page passes the filename and the author of the image to the script, so that the new page is generated by the php script. It doesn't warrant a DB.
Lets say that there is an image that is called "image1.jpg", its title is "Foo's Revenge" and the author is "Foo Bar". What I am doing then is passing these values to a php script, as follows:
viewer.php?file=image1.jpg&title=Foo's Revenge&name=Foo Bar
and in the script:
<p align="center"><img src="<?php echo $_GET['file']?>" alt="<?php echo $_GET['title']?>"></p>
<p><?php echo $_GET['name']?></p>
<p><?php echo $_GET['title']?></p>
The ideal result would NOT have a \ before any '
any way to get around that???
thanks
c