Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 17th, 2005, 09:41 AM
sumon
Guest
 
Posts: n/a
Default guest book problem !!

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
Default 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
--
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles