Re: & terminates string?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey Matthew

Example: index..php?id=4539&page=dest.php&wig=top

From this url example I can use the following variables:
$id='4539';
$page='dest.php';
$wig='top';

for ampersands, use %26
the same way that spaces are %20 in URLs

So, if I wanted to pass a variable that had an ampersand in it, like Tony & Tina's Wedding
page=Tony%20%26%20Tina%27s%20Wedding


Luck

Gabino

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux