|
please can someone help with the following code i am fairly new to php. i need the checkbox when checked to post variables to the next page
$num=mysql_numrows($result);
$i=0;
if ($num==0) {
echo "sorry fully booked";
} else {
echo "<br><B>holiday Park availability: </b><br><br>";
while ($i < $num) {
$sdate=mysql_result($result,$i,"sdate");
$edate=mysql_result($result,$i,"edate");
$price=mysql_result($result,$i,"price");{
echo "$sdate - $edate - Price from $price <input type=\"checkbox\" name=\"holidayhome1($i)\" value=\"$sdate|$edate|$price\" UNCHECKED>\n<br /><br />";
}
$i++;
}}
thank you in advance
|