Hi, ive got this query, it works fine for 'Name' but for 'Duration', its outputting the last one in my table rather than the selected one?
$sql="SELECT Name, Duration FROM films";
$result=mysql_query($sql);
$options="";
while ($row=mysql_fetch_array($result)) {
$Name=$row["Name"];
$Duration=$row["Duration"];
$options.="<OPTION VALUE=\"$Sname\">".$Sname;
$SESSION['Duration'] = $Duration;
$Duration = $POST['Duration'];
on the following page....
if (isset($POST['Name'])) {$SESSION['Name'] = $POST['Name'];}
if (isset($POST['Duration'])) {$SESSION['Duration'] = $POST['Duration'];}
thanks...