<?php
$old1 = 'H"s';
$old2 = "H's";
echo "new1 : " . addslashes ($old1);
echo "
";
echo "new2 : " . addslashes ($old2);
? >
The output :
new1 : H\"s
new2 : H\'s
Thursday, December 18, 2008
Subscribe to:
Post Comments (Atom)
Eclipse,Netbeans,Java,PHP,C/C++/C#,.NET,Visual Studio
0 comments:
Post a Comment