[TriLUG] Help!

Brian McCullough bdmc at bdmcc-us.com
Thu Jun 16 09:35:35 EDT 2005


On Thu, Jun 16, 2005 at 09:00:55AM -0400, David Rasch wrote:
> On Thu, Jun 16, 2005 at 08:56:57AM -0400, Brian McCullough <bdmc at bdmcc-us.com> wrote:
> > Group,
> > 
> 
> Brian,
> 
> This isn't actually a MySQL, rather it's an error from the PEAR DB
> framework indicating the number of parameter slots typically designated
> with a ? does not match the number of parameters being passed in the
> array.  For example:


Panic over.  I was looking in the wrong place.  There was nothing wrong
with the data array or the prepare-execute/query statements.  Adding
prints showed me an error in the actual INSERT string itself!

A mismatched quote meant that I was giving the system too many
variables, not too few.


Thank you for the guidance.


> -David

Brian




> -- 
> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://www.trilug.org/pipermail/trilug/attachments/20050616/9ed8f133/attachment.pgp>


More information about the TriLUG mailing list