GreatSeaSpider
Programmer
Hi all,
I've written a script to allow the manipulation of a database. It all works fine... but... the clever ppl using it are trying to use quotes ie " or ' in the text they are adding. This is causing problems as the sql query then has mis-matched quotes!
Being quite new to php (come from a java background) could anybody show me some bits of code giving examples of string parsing/manipulation in php?
would be greatly appreciated
Pete
I've written a script to allow the manipulation of a database. It all works fine... but... the clever ppl using it are trying to use quotes ie " or ' in the text they are adding. This is causing problems as the sql query then has mis-matched quotes!
Being quite new to php (come from a java background) could anybody show me some bits of code giving examples of string parsing/manipulation in php?
would be greatly appreciated
Pete