phpLens
 home  products examples manual  faq support forum  contact news  login store

Forums: phplens   adodb
Forums:   PHPLens Technical Support:   Replies 
New ReplySearch
Topic: adodb-active-record.inc.php line 645
author: snowy   created: 10-05-2010 10:04:07 PM
Hi John, is there any reason why this line should read:

in function doquote()

645: if (strlen($val)>1 &&

instead of

645: if (strlen($val)>0 &&

As it stands, all chars of length 1 will not be quoted, and causes active record replace/updates of fields with char 1 to fail (being inserted unquoted)

I've modified mine, but was wondering if I was missing something?

Strange this isn't picked up, no one using active record maybe? :)

thanks
Topic: Re:adodb-active-record.inc.php line 645
author: snowy   created: 10-05-2010 10:08:07 PM
sorry might be 644 (or thereabouts) ... been hacking the file :)
Topic: Re:adodb-active-record.inc.php line 645
author: Tabata   created: 25-05-2010 07:17:58 AM
duplicated sorry!
http ://phplens.com/lens/lensforum/msgs.php?id=18447
Topic: $ADODB_FETCH_MODE
author: Thomas Endreß   created: 08-06-2010 02:22:12 PM
fasdf
Page 1
New ReplySearch

View Source

email: contact#phplens.com (change # to @)     telephone (malaysia): 60-3-7947 2888     fax (malaysia): 60-3-7947 2800