[PHP-DB] passing php variables with special characters From: BENNETTM <email protected>
Date: 07/03/00

Hello from a php newbie,
        How do I pass php variables that have special characters
like spaces, pound signs, etc to other html pages?

For example,

If I have a php line that reads:

echo "<a href=\"order.html?prod=$prod_desc\">$prod_desc</a>";

and $prod_desc can contain values like:

"#3 Item"
"LIFE SAVERS BULK"
"JOHNSON & JOHNSON"

when I view the variable results from the called page all I see is the
text to the first space (or nothing in the case of the first one nothing
because of the pound sign).

Anyone know?

Thanks for any valid input.

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>