PHP Problem, Special String Character...please help

From: Date: Wed, 14 Jan 2004 10:20:56 +0000
Subject: PHP Problem, Special String Character...please help
Groups: php.db 
Request: Send a blank email to php-db+get-32384@lists.php.net to get a copy of this message
Hai... I have problem with manipulating the string... How to send the string with special character included to the other pages... For example the string "Father & Son", when I send into other page the display become "Father" Example special characters are &, +, <, >, etc How to fix it??? Thanks very much for your kind attention Best Regards, Ferry PHP sample file 1 : string_test.php <html> <? $title="Father & Son"; echo "the real title : $title"; ?> <br> <p><a href="string_display.php?stitle=<? echo $title;?>">next page</a></p> </html> file 2 : string_display.php <html> <? echo "in this page<br>"; echo "the title : $stitle"; ?> <p>Could you fix this problem??</p> <P>the title should be "Father & Son"<p> <p>the problem is using the special character ( &, +, ", <, >, etc)</p> <br> <p><a href="string_test.php">back</a></p> </html> _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail

« previous php.db (#32384) next »