output string literals

Codes here !

Moderators: macek, egami, gesf

Post Reply
MeroD
New php-forum User
New php-forum User
Posts: 53
Joined: Wed Oct 10, 2012 12:14 am

Re: output string literals

Post by MeroD » Wed Nov 07, 2012 4:57 am

Try:
$output = htmlspecialchars($input, ENT_QUOTES);

http://www.php.net/manual/en/function.h ... lchars.php

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest