by Eric Messick.
Cheers for your help Stéphane. I had to remove the quotation marks from the query and it worked.
The only other small problem I have is that Myddleware's date/time seems to be set to Europe/France timezone. In Myddleware "Europe/France" seems to be default.
I set my timezone in both php.ini files (in cli and apache2 directories) as it says in your installation instructions. I checked phpinfo and my default timezone is working.
Thanks heaps.
Eric