mysql_real_escape_string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am creating a form where I am using 

$web_site_#

for the various fields.  At the present time there are 11 fields I am
asking the user to key in.  I am wondering if there is a slick way to
use the mysql_real_escape_string command with this so

$web_site_1 = mysql_real_escape_string($web_site_1);
$web_site_2 = mysql_real_escape_string($web_site_2);
$web_site_3 = mysql_real_escape_string($web_site_3);
...
$web_site_11 = mysql_real_escape_string($web_site_11);

would be replaced by some type of loop

Suggestions?  

Ron


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux