Hi =)
I'm a total php newbie but i'm moving to a server that allows it and I wanted to start to learn it.
Anyway, I wanted to start with a simple page to display pictures. For example you'd just place a link..
<a href=pictures.php?dog.jpg>A dog</a>
And it'd bring up a generic page with that picture in the middle. Looks pretty easy like you can just capture the filename and echo an <img> line with it in there.
So I'm guessing I just create an html page and then where I want the picture put:
<?php
$picture = ; //however you extract the name from the url
echo("<img src=$picture>\n");
?>
Or something like that...
Any help is appreciated =) I'm sorry if this is simple hehe. Just want to build this page.
Thanks,
Zalk