By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,709 Members | 1,670 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,709 IT Pros & Developers. It's quick & easy.

guest book problem !!

P: 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.
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
*** sumon wrote/escribió (19 Sep 2004 23:20:21 -0700):
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 !!


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
--
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.