Connecting Tech Pros Worldwide Help | Site Map

guest book problem !!

  #1  
Old July 17th, 2005, 09:41 AM
sumon
Guest
 
Posts: n/a
hi ,
I want to create a guest book using php .It includes
name ,email,comments field .
But if name is like ab'hh or comment has " ..then it
creates problem .. I want to know is there any function
that helpme to take any kind of input that are given by user !!
Please help.
  #2  
Old July 17th, 2005, 09:41 AM
Alvaro G Vicario
Guest
 
Posts: n/a

re: guest book problem !!


*** sumon wrote/escribió (19 Sep 2004 23:20:21 -0700):[color=blue]
> I want to create a guest book using php .It includes
> name ,email,comments field .
> But if name is like ab'hh or comment has " ..then it
> creates problem .. I want to know is there any function
> that helpme to take any kind of input that are given by user !![/color]

What kind of problems? If you are using a MySQL database and quotes make
your SQL query fail, you have mysql_escape_string(). If that's not the
problem, well, this can or can't be the solution :)

Next time please give us some information.

--
-- Álvaro G. Vicario - Burgos, Spain
-- Thank you for not e-mailing me your questions
--
Closed Thread