|
Posted by Black Shuck on 10/12/38 11:39
On Tue, 07 Feb 2006 23:19:49 -0000, David Haynes
<david.haynes2@sympatico.ca> wrote:
> Black Shuck wrote:
>> ??? I have no idea what this all means :-(
>> All I know, is the form post data looks like this:
>> array(3) { [0]=> string(1) "0" [1]=> string(1) "2" [2]=> string(1) "4"
>> }
>> and I need to pass: "0,2,4" into my SQL query.. So, in simpleton
>> terms, what do I need to do?
>>
>
> Try this example:
> <?php
> $foo = array('0', '2', '4');
> $imp = implode(',', $foo);
> print_r($foo);
> echo "imp = $imp\n";
> ?>
>
> -david-
>
Thanks SO MUCH, your a star. Got it all working a treat...
Navigation:
[Reply to this message]
|