querystring text
| From: | Matthew Tedder | Date: | Fri, 04 Jan 2002 23:16:49 +0000 |
| Subject: | querystring text | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-15388@lists.php.net to get a copy of this message | ||
Quick question for anyone who knows,
Is there a PHP function to make data safe for sending in the query string?
$var = "something or other";
// TODO: What is function to translate $var for querystring compatibility?
print "<a href=\"http://yada.com/index.php?var=$vardata&othervar=whatever\">
Yada</a>";
--Matthew