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"; } Link to comment https://forums.phpfreaks.com/topic/49127-how-to-count-html-table-row-plz-hlp/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.