php-db | 2005011
Date: 01/06/05
- Next message: Norland, Martin: "RE: [PHP-DB] MySQL Auto PK"
- Previous message: Philip Thompson: "[PHP-DB] mssql_connect"
- In reply to: Perry, Matthew (Fire Marshal's Office): "[PHP-DB] & terminates string?"
- Next in thread: Jochem Maas: "Re: [PHP-DB] & terminates string?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Norland, Martin: "RE: [PHP-DB] MySQL Auto PK"
- Previous message: Philip Thompson: "[PHP-DB] mssql_connect"
- In reply to: Perry, Matthew (Fire Marshal's Office): "[PHP-DB] & terminates string?"
- Next in thread: Jochem Maas: "Re: [PHP-DB] & terminates string?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

