0
I am submitting single query but its inserting two entries one of them with data another with blank values
if(isset($_POST['sub'])){ $cbin =mysql_query("insert into tb_booking (b_hotelid,b_roomid,b_cusid,b_adults,b_kids,b_checkin,b_checkout,b_date) values('$hotelid','$rtype','$cid','$adl','$kd','$cin','$cout','$date')"); <input type="submit" name="sub" value="Submit">
2 odpowiedzi
0
Your code seems to be correct.... But i can't see where you close that brace ( { ) on line one
0
thanks for reply i already found the solution.