On Thursday 19 June 2003 20:27, Mukta Telang wrote:
> I want to add slashes to a string, if it contains quotation marks and
> which is received as input from a form, so that I can enter it to a
> database.
> What I am doing is as follows:
>
> echo ";
> $title=addslashes($title);
>
> But the string
On Thu, 2003-06-19 at 05:27, Mukta Telang wrote:
> Hi,
> I want to add slashes to a string, if it contains quotation marks and
> which is received as input from a form, so that I can enter it to a
> database.
> What I am doing is as follows:
>
> echo ";
> $title=addslashes($title);
>
> But the st
Hi,
I want to add slashes to a string, if it contains quotation marks and
which is received as input from a form, so that I can enter it to a
database.
What I am doing is as follows:
echo ";
$title=addslashes($title);
But the string that gets added has a lot of slashes!
How should this be done?
M
3 matches
Mail list logo