View Single Post
Old 10-17-2011, 06:06 PM  
Confined
Registered User
 
Industry Role:
Join Date: Jan 2006
Posts: 93
Quote:
Originally Posted by georgeyw View Post
Are you wanting to control which gallery is displayed or simply random?

yourdomain.com/gallery.php?id=<Gallery ID here ie 3>

use a

$id = $_GET to grab the id

then include 'file'.$id.php

Better way would be to create a db and call gallerys by their id in the db.
Oh yeah baby! that's a great way to get hacked
Confined is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote