Re: populate pulldownbox from query [message #174064 is a reply to message #174057] |
Fri, 20 May 2011 22:28 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 5/20/2011 4:19 PM, Denis McMahon wrote:
> On Fri, 20 May 2011 15:13:01 -0400, Jerry Stuckle wrote:
>
>> On 5/20/2011 2:30 PM, Co wrote:
>>> echo "<option value=$partner>$nt[rank] $nt[firstname] $nt[lastname]</
>>> option>";
>>
>> echo "<option value=$partner>{$nt[rank]} {$nt[firstname]}
>> {$nt[lastname]}</option>";
>
> Hmm
>
> I thought:
>
> echo "<option value='$partner'>{$nt['rank']} {$nt['firstname']}
> {$nt['lastname']}</option>";
>
> But I'm failing to find an appropriate page in the manual for a
> definitive answer.
>
> Rgds
>
> Denis McMahon
Yup, you're right - I was concentrating on the braces and forgot the quotes.
Mea culpa.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|