[nycphp-talk] Passing values with '&'
sergey-ru at list.ru
sergey-ru at list.ru
Thu Mar 29 23:35:50 EDT 2007
Hi Néstor.
Or simple:
echo urlencode("Hans & Allie");
--
Sergey Kozlov mailto:sergey-ru at list.ru
> $string = urlencode("Hans & Allie");
> echo $string;
> Hans C. Kaspersetz
> Cyber X Designs
> http://www.cyberxdesigns.com
> Néstor wrote:
>> Guys,
>>
>> I have QUERYSTRING that I am passing to another web page
>> and it contains 'Consideration 534 & 535". When I GET the variable
>> I only get 'Consideration 534'
>>
>> How do I pass the '&' so that I can read the rest of the variable????
>>
>> I tried using the following with no luck:
>> 1) htmlentities and html_entity_decode
>> 2) addslashes
>>
>> I am using php 4.3
>>
>> Thanks,
>>
>> Néstor :-)
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> New York PHP Community Talk Mailing List
>> http://lists.nyphp.org/mailman/listinfo/talk
>>
>> NYPHPCon 2006 Presentations Online
>> http://www.nyphpcon.com
>>
>> Show Your Participation in New York PHP
>> http://www.nyphp.org/show_participation.php
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
More information about the talk
mailing list