njm0993 Posted August 1, 2009 Share Posted August 1, 2009 i was wondering how to make the index like "index.php?os=windows&id=3". i understand how to make it simple such as "index.php?windows" but cant figure out howto make it advanced. thanks. -nick Quote Link to comment https://forums.phpfreaks.com/topic/168365-php-url/ Share on other sites More sharing options...
dannyluked Posted August 6, 2009 Share Posted August 6, 2009 You would do this using the $_GET command for example you may have this code ...WHERE id = '".$_GET[id]"' This would get the id from the URL. This example uses id in the URL but it could be called anything. Hope this points you in the right direction! Look here [http://www.w3schools.com/PHP/php_get.asp] Quote Link to comment https://forums.phpfreaks.com/topic/168365-php-url/#findComment-892301 Share on other sites More sharing options...
Maq Posted August 6, 2009 Share Posted August 6, 2009 Define advanced. Maybe dynamic? Quote Link to comment https://forums.phpfreaks.com/topic/168365-php-url/#findComment-892363 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.