GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Programming  >  PHP

 Print  |  
Question:  How do you insert single & double qotes in MySql db without using PHP?



September 09, 2008 13:15:24 #7
 jigishpthakar   Member Since: September 2008    Total Comments: 1 

RE: How do you insert single & double qotes in MySql db without using PHP?
 
While embeding varible to query string use PHP function addslashes()
this will solve the problem of any special character.
     

 

Back To Question