Jump to content

[SOLVED] "" Problem


SkyRanger

Recommended Posts

Ok this is what is happening.  Users are typeing things in text boxes like:

 

From: <input type=\"text\" name=\"fname\"> value = Firstname "Nick" Lastname
or
To: <input type=\"text\" name=\"tname\"> value = Firstname "Nick" Lastname

I tried doing:

$fromname = addslashes($fname);
and
$toname = addslashes($tname);

With no luck

 

I honestly do not know how to properly use this code.  Doing google search as I type for more info.

 

Link to comment
https://forums.phpfreaks.com/topic/48943-solved-problem/#findComment-239811
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.