Hi there
I have a form which has dynamically built select lists.
The select lists are created via 'AJAX', i.e. an http post/response call using JavaScript and PHP.
The data in the database table has been added using htmlspecialcahrs function and as an example the entry is Bee's Knee"s.
However the options are still being displayed as shown above - it is not converting to html.
I have done some testing and output the same data directly to a select list - this displays prefectly.
So I am assuming there is something in the 'AJAX' process causing the problem.
Anyone got any ideas ?
Thanks
Nigel Wilson
Christchurch Web Design
I have a form which has dynamically built select lists.
The select lists are created via 'AJAX', i.e. an http post/response call using JavaScript and PHP.
The data in the database table has been added using htmlspecialcahrs function and as an example the entry is Bee's Knee"s.
However the options are still being displayed as shown above - it is not converting to html.
I have done some testing and output the same data directly to a select list - this displays prefectly.
So I am assuming there is something in the 'AJAX' process causing the problem.
Anyone got any ideas ?
Thanks
Nigel Wilson
Christchurch Web Design