Jump to content

url question?


Yohanne

Recommended Posts

something like this im doing: 

<?php
	if(isset($_GET['tab']) == 'newtab)')
		{
		$link = "newtab.php?"; 
			foreach ($_GET as $key => $value) 
			$link .= "$key=$value&we3333"; 
			header("Location:$link");
		}
?>

<a href="?tab=newtab"><span>New</span></a>

 

and the output is like this: en/newtab.php?tab=newtab&we3333

 

but sad to say from the (tab=newtab&we3333) is no value mean useless.. and i want every each number or letter is have a value, example i want to remove last number 3 and the page will get page not found! 

Link to comment
https://forums.phpfreaks.com/topic/275959-url-question/#findComment-1420055
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.