Re: [PHP-DB] search of data base - again

2012-03-30 Thread Lars Nielsen
; > > > Also - is it valid to use the word 'Date' as a field name? Just wondering. > > It is valid, though It may require quotes (backtick ?) > Hi, Have you tried to write out the generated sql with var_dump() and then feed it to an SQL interface? By using Mysql Query Browser you can easily check it the sql-string is correct. Regards Lars Nielsen LFWeb -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Re: PDO Exceptions

2013-04-24 Thread Lars Nielsen
> On 4/22/2013 11:55 AM, Onatawahtaw wrote: >> Greetings, >> >> I am new to this list. I have a question about which functions need to >> be included in a try block. >> >> Of "new PDO", "prepare", "bindParam", "execute", "fetch", and "query", >> it seems that bindParam is the only one that throws a

Re: [PHP-DB] Re: PDO Exceptions

2013-04-24 Thread Lars Nielsen
> On 4/24/2013 9:43 AM, Lars Nielsen wrote: >>> On 4/22/2013 11:55 AM, Onatawahtaw wrote: >>>> Greetings, >>>> >>>> I am new to this list. I have a question about which functions need to >>>> be included in a try block. >>>> &