View Single Post
Old 05-02-2004, 05:19 PM   #4 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,489
sde is on a distinguished road
she pm'ed me the code. i requested we continue the thread here. here is what she sent me anyway. it seems to look fine and i request that she post the 'view source' along with this:
PHP Code:
<html>
<body>
<form action="be.php" method="POST">
<select name="cod">
<? mysql_connect("localhost","root","");
mysql_select_db("posta1");
$sql="select * from firme order by cod asc";
$resursa=mysql_query($sql);
while(
$row=mysql_fetch_array($resursa))
{print 
"<option value='".$row['cod']."'> ".$row['cod']."</option>";}?>
</select>
<br><br>
Valoare colet in cifre: <input type="text" name="valoare"><br>
Valoare colet in litere: <input type="text" name="valoarelit"><br>
Ramburs colet in cifre: <input type="text" name="ramburs"><br>
Ramburs colet in litere: <input type="text" name="ramburslit"><br>
<BR><BR>
<input type="submit" name="unicas" value="Tipareste BE Unicas">
</form>
</body>
</html>
__________________
Mike
sde is offline   Reply With Quote