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?



August 08, 2008 09:26:38 #6
 EllisGL   Member Since: August 2008    Total Comments: 1 

RE: How do you insert single & double qotes in MySql db without using PHP?
 
The way the question is formed - you would either:
1.) Use the MySQL CLI to perform an INSERT: INSERT INTO `myDB` (`col1`, `col2`) VALUES ('It's the best!', '"Mike" says hi!');

2.) Use another language other than PHP.
     

 

Back To Question