Re: make form list with option select

From: Ray Hunter <rhunter(at)venticon(dot)com>
To: apz <apz(at)nofate(dot)com>
Cc: Ahmad Sentri <sentri(at)unila(dot)ac(dot)id>, pgsql-php(at)postgresql(dot)org
Subject: Re: make form list with option select
Date: 2003-03-26 16:11:43
Message-ID: 1048695103.2183.51.camel@zeus
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

Or you could just do this to:

echo
"<option value=\"{$row1['kode_fak']}\">{$row1['mana_fak']}</option>\n";

That will work too...

--
Ray

On Tue, 2003-03-25 at 23:59, apz wrote:
> apz screwed up:
> > echo "<option value='".$row1["kode_fak"].".>".$row1["mana_fak"].
> > "</option>\n";
>
> it should say:
>
> echo "<option value='".$row1["kode_fak"]."'>".$row1["mana_fak"].
> "</option>\n";
>
>
> if you dont see it, I had ".>" while should be "'>" (to close the html
> value string for the option tag). blah, hope this does not deter from
> getting this thing for you to work.
>
>
> enjoy
>
>
>
> /apz, Learn to pause -- or nothing worthwhile can catch up to you.
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly

In response to

Browse pgsql-php by date

  From Date Subject
Next Message James Cooper 2003-03-28 08:31:39 undefined query!!!!!
Previous Message Greg Stark 2003-03-26 14:26:19 Re: max and sum function