Just a small query really..
The SQL query of:
SELECT pot_rev FROM enquiry WHERE agent LIKE '%Munro's%'
Will not work, for the obvious reason it has a ' in the word. Is there a way round it apart from the way below ?
SELECT pot_rev FROM enquiry WHERE agent LIKE '%Munro%'
It is possible to get the agent name in a variable then pass like this through PHP:
$hotel2 = ereg_replace("[\x27\x22]",'',trim($hotel));
But again it doesn't work as listings are not identical.
Any and all info would be appreciated.