Welcome Guest, Not a member yet? Register   Sign In
New to php Array question, probably VERY simple...
#4

[eluser]PoetaWD[/eluser]
[quote author="Phil Sturgeon" date="1245961469"]Here's what kgill said implemented to your example.

Code:
foreach ($clientes as $cliente)
                                {
                                    $opcoesC[$cliente->id] = $cliente->id.' - '.$cliente->stNome;
                                }
echo form_dropdown('cliente', $opcoesC);
[/quot

Got that !

Thank you very much for the quick help ! It is working now !

Big Grin


Messages In This Thread
New to php Array question, probably VERY simple... - by El Forum - 06-25-2009, 08:09 AM
New to php Array question, probably VERY simple... - by El Forum - 06-25-2009, 08:39 AM
New to php Array question, probably VERY simple... - by El Forum - 06-25-2009, 09:24 AM
New to php Array question, probably VERY simple... - by El Forum - 06-25-2009, 10:08 AM
New to php Array question, probably VERY simple... - by El Forum - 07-29-2009, 10:43 PM



Theme © iAndrew 2016 - Forum software by © MyBB