Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2005011

Re: [PHP-DB] & terminates string? From: Gabino Travassos (mote <email protected>)
Date: 01/06/05

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