Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-php by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group