PDA

View Full Version : sub-links using PHP and Mysql


jeremy
02-08-2003, 08:35 AM
ok i know how to make index.php?id=home
but how might i make a script where index.php?id=home&more
would work?

scoutt
02-08-2003, 11:38 AM
just the same way.

you have this link here index.php?id=home&more=place

as id=home so does more=place

you call them the exact same

if register_globals is off then it is like so

$_GET['id'] = home
$_GET['more'] = place

but if register_globals is on then it is normal like so

$id = home
$more = place

get it?

jeremy
02-08-2003, 03:05 PM
yeah thanks :)