hola Posted April 28, 2007 Share Posted April 28, 2007 i am trying to echo "room_Type_break" field, the problem is it only prints twice of each room_Type. for e.g. cal.php room_type -------- ensuite ensuite single single book.php : Output: single single it is not printing out ensuite...any idea? cal.php if($qty !== '0'){ $p=0; while($fday<$tday){ echo "<td>$room_Type<input type='text' name='room_Type_break' value='$room_Type'></td> $p++; }echo "<input type='hidden' name='count' value='$p'>"; } book.php for ($i = 0; $i <= $_POST['count']; $i++) { $room_Type_break = $_REQUEST['room_Type_break_'.$i.'']; echo "$room_Type_break"; } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.