L
l
Guest
I see sites like this, and I was wondering what are the benefits of doing it like this.
This is the only way I would know of doing it, no doubt, this is wrong, but I am unsure how to do it if I had to.
http://www.sitename.com/viewphoto.php?id=50qa&page=show
I want to know how you could do something like that, not with the whole actual viewing the photo, but just so if it did this it showed photo 50. I don't see the point of doing it like the below, because you may as well just put it in lots of pages, or on the same page. Explain please.
<?php
$page = $_GET['page'];
if($page = "contact") {
?>
Contact me blahbalhaha...
<?
}
?>
This is the only way I would know of doing it, no doubt, this is wrong, but I am unsure how to do it if I had to.
http://www.sitename.com/viewphoto.php?id=50qa&page=show
I want to know how you could do something like that, not with the whole actual viewing the photo, but just so if it did this it showed photo 50. I don't see the point of doing it like the below, because you may as well just put it in lots of pages, or on the same page. Explain please.
<?php
$page = $_GET['page'];
if($page = "contact") {
?>
Contact me blahbalhaha...
<?
}
?>