guest book problem !!

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • sumon

    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.
  • Alvaro G Vicario

    #2
    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_st ring(). 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
    --

    Comment

    Working...