Jump to content

ampersand


jakebur01

Recommended Posts

Hi,

 

I have some data to pull based on type. The variable being passed is B & R.

 

Only, when I try to pass it.. it passes B and cuts off everything else. How can I handle this correctly?

	echo "<a href=\"view_dealers.php?type=".B .'&'. R."\">Bill and Ralphs</a> - ";

  elseif ($_GET['type'] == true)
				  {
	$i = $_GET['type'];


	echo"$i";
}

 

 

Link to comment
https://forums.phpfreaks.com/topic/186733-ampersand/
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.