At 2:31 -0800 2/19/03, Tushar Balapure wrote:
 > Hi All,
 I am facing problem while using placeholder..
 I am using CGI/DBI/mySQL. When html form is
 submitted,
 if the form text box contains ? then, the INSERT
 query
 fails..
 If I dont use the plcaholder, it stores form data ?
 as
 NULL..
 i.e every occurance of ? in text is stored as NULL..

 Ex: What is your name ?
 is stored as What is yor name NULL

 Please help..

 > Thanks Tushar
 >
Sounds like you're inserting your data value directly into the
query string without quoting, and then executing that.

Write the query string using ? where the data value should go,
and then bind the data value to the query when you execute it.

Reply via email to