I have a problem with php, I've been looking around but I haven't found what I'm searching for..
The idea:
Now I have a user clicking on a link and directing him to a page where the wallpaper is. I want to change that and add more elements to that page, not only the image (like header, footer). And I though of doing it with PHP.
The link would lead to a wallpaper.php file and the image's URL requested would be displayed.
I have only gotten this far:
Code: Select all
<?php
$file = 'http://www.website.com/something/image.jpg';?>
<img src="<?php echo $file ?>" alt="something" width="600px" height="434px" />I don't know maybe there is an easier way to do this, if so I'm all ears!
Thanks in advance!