Search found 5 matches

by obasan
Fri Sep 23, 2005 11:37 am
Forum: PHP - Code
Topic: PEAR executeMultiple() returned Unknown Error
Replies: 7
Views: 311

You're right feyd, I should've done it slowly but surely. Will get back with the results sooner :)

Thanks!
by obasan
Fri Sep 23, 2005 7:02 am
Forum: PHP - Code
Topic: PEAR executeMultiple() returned Unknown Error
Replies: 7
Views: 311

Well obviously if you insert directly a value (instead of putting a ?) everything works just fine. But its a prepare() statement, hence ? is used to be replaced with arrays of data.

God damn Unknown Error.

Anybody could help ?
by obasan
Fri Sep 23, 2005 6:10 am
Forum: PHP - Code
Topic: PEAR executeMultiple() returned Unknown Error
Replies: 7
Views: 311

Wait.. do you mean I must enclose it with quotes? Like this --> '?'

I tried that, didn't work :(
by obasan
Fri Sep 23, 2005 6:08 am
Forum: PHP - Code
Topic: PEAR executeMultiple() returned Unknown Error
Replies: 7
Views: 311

The ? will be parsed by PEAR as a variable, which is fetched from $data and applied to corresponding ? during executeMultiple.
by obasan
Fri Sep 23, 2005 6:02 am
Forum: PHP - Code
Topic: PEAR executeMultiple() returned Unknown Error
Replies: 7
Views: 311

PEAR executeMultiple() returned Unknown Error

Hello there! The code below returned an unknown error DB Error: unknown error What could be wrong? Help appreciated. /* print_r ($data); would return Array ( [0] => Array ( [cserial] => 123456789015 [ccolor] => orange [ctaste] => good ) [1] => Array ( [cserial] => 123456789014 [ccolor] => orange [ct...