|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Help Urgently
Hi All:
I am designing a web page using PHP/MYSQL to allow user to input any query you want. I set a var to store the SQL query users input and then use mysql_query($var) to execute. But I will get error, if I run below: SELECT title,price FROM paper WHERE periodicity='weekly' ORDER BY price DESC Obviously, it runs well in command line. but if this statement is stored into a var, it will not work, just because the single quote can not be handled in variable. How can sort out the problem Anyone can help ME????? Thank you all |
|
#2
|
|||
|
|||
|
* Duplicate Post: Please refrain from cross-posting *
Original thread: http://www.devarticles.com/forum/sh...=&threadid=4550 Please read the forum rules prior to posting. Thanks, Frank
__________________
____________________________________________ Developer Shed Weekly Writer | DevArticles Forum Moderator Build Your Own KlipFolio Klip With PHP FrankManno.com - Under Construction Design Interactive Group - Under Construction |
| Viewing: Dev Articles Community Forums > Databases > General SQL Development > Help Urgently |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|