Hi there. I have a small php app connected to sqlServer db. The app is used
as a code library for various programming languages. My problem is this, I
would like to be able to insert the code for a function (the actual code)
into the db. However, I keep running into the quote problem when inserting.
In Asp for example, commenting is done by uing a ' . When I try to insert
some asp code into the db via my php app,it throws errors. Somebody had
mentioned that using addslashes() and sripslashes () functions would do the
trick. Is there a better way to do
this or are these two functions the best to use? Also, how do I keep the
formatting of a function to stay the same while inputting and retrieving?
Your time is greatly appreciated!
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]