You are here: Re: Newbie problems with Multiple Select form, and MySQL ENUM types. « PHP Programming Language « IT news, forums, messages
Re: Newbie problems with Multiple Select form, and MySQL ENUM types.

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация