Clicking on Save just shows a Select query in browser ?

I have had a Xataface application working for years, and just had to transplant it onto a new server. It is a simple application, mostly dealing with one table which holds my Record Collection. It is working as far as listing all the data etc, but when I try to enter a new record, after filling our the data form, I press the 'Save' button and it displays just the text of a select query (listed below) in the browser - and nothing is saved.
I need a pointer as to what has gone wrong. Any ideas?
I need a pointer as to what has gone wrong. Any ideas?
- Code: Select all
SELECT COUNT(*) as num FROM `latestmusic` WHERE `Shelf` = '2587' AND `Title` LIKE CONCAT('%','Greatest Hits','%') AND `Artist` LIKE CONCAT('%','test','%') AND AND AND AND `Year` = '1988' AND AND `Notes` LIKE CONCAT('%','DMM','%')