Perhaps this is a little clearer
The problem is that I don't know where it's broken.......
As I said the drop list is generated from a database query which works.
The selected value is then used in an insert query:
$sql4="INSERT INTO solution
VALUES (NULL, '$create_date', NULL, NULL, NULL, '$title', '$problem', '$solution', '$version', '$link', '$value3', '$value2', NULL)";
print "$sql4";
$result4=mysql_query($sql4);
Which also works.
But when I try to pass it between pages like this:
<form name="form1" method="post" action="today.php?life=$life&duration=$duration&title=$title&sql4=$sql4&problem=$problem&solution=$solution&link=$link&value2=$value2">
and then try:
echo $value2;
All I get is the name ($value2) not its value(i.e. 20).