I don't understand why I canot $_POST $row[Oras]. I get UNDEFINED VARIABLE
:
<p><?php
$qorase="SELECT Oras FROM oras";
if (isset($qorase) && !empty($qorase)) {
echo"<!--" . $qorase . "-->";
$result = mysql_query($qorase)
or die ("invalid query 4: " . mysql_error ());}
?>
<select name="option" >
<?php while ($row = mysql_fetch_array($result)){
echo "<option value=\"$row[Oras]\">$row[Oras]</option>\n";
;}
?></p>
</select>
</p>
<p><input type='submit' name='send'></p>
WHEN I CALL IT WITH POST IS NOT WORKING
$Oras=$_POST[$row['Oras']];