In the first html-page i have code like this:
printf("<TD><select size=1 name=\"onr\">\n");
/* Auswahlfeld aufbauen*/
$sock = msqlConnect();
...
msqlQuery($sock, "SELECT * from otab WHERE v_nr=$vnr"); /* $vnr comes from
a page below*/
$res = msqlStoreResult();
$row = msqlFetchRow($res);
while (#$row > 0)
{
printf("<option value=$row[0]>$row[4] in $row[3] $row[2] $row[5]\n");
$row = msqlFetchRow($res);
}
...
in HTML:
<TD><select size=1 name="onr">
<option value=1>Agnes-Smedley-Straße 6 in 01187 Dresden Plauen
<option value=2>Bienertstraße 6 in 01187 Dresden Plauen
....
<option value=22>musterstraße 4 in 98764 Machtnix neudorf
</select></TD>
so I have got a fine select field. It works.
This row[0] or "onr" is what I want. You can select a row in the select
field, but the "onr" wich arrives at the next page looks like: Äx or €f or
Èæ or other. All, but not my Integer value.
Where is the mistake??
Mit freundlichen Grüßen
Jens Puruckherr
EDV-Manager
Elbvilla facility Service GmbH
Scharfenberger Straße 2
01139 Dresden
-------------------------------------------------------
Tel. 03528/446372 mail:puru@elbvilla.de
Fax. 0351/8588571 http://www.wohnungsmarkt-dresden.de
-------------------------------------------------------------------------
To unsubscribe, go to http://www.Hughes.com.au/extras/email/
This archive was generated by hypermail 2b30 : Mon Mar 04 2002 - 09:03:51 EST