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

[eluser]tashigiri[/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);
[/quote]
Thanks Phil and kgill..
my problem solved..^^


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