PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
The problem lies here, the insertion of data into the database works fine, when i started to do some testing and enter a piece of data with ' in use i get the following error message:
Warning: mssql_query() [function.mssql-query]: message: Line 1: Incorrect syntax near '1'.
If any one is got some PHP code to solve this issue will be most welcomed, thanks in advance....
There is little development on the mssql/sybase family of functions. I think PDO has an escape functionality for each RDBMS, but you would need to install the PDO extensions and have the PDO drivers installed before using it.