|
Posted by Rowan on 01/07/08 22:25
On Jan 7, 10:38 am, giblfiz <gibl...@gmail.com> wrote:
> > $stmnt->bindParam($i, $value);
>
> I'm not 100% about this, but doesn't binddParam want a data type
> specified, something like:
> $stmnt->bindParam($i, $value, PDO::PARAM_STR, strlen($value));
tried that, no luck. I think the problem is bindParam expects a
variable name. however I would like to just loop through the array.
This way I can use the same function to input arrays.
Navigation:
[Reply to this message]
|