This php line
<?php if($_SESSION['count'] >= 3)?> 
of code gives me the following error message
Notice: Undefined index: count in C:\xampp\htdocs\vb\Step4.php on line 451 Number of Room/s
This php line
<?php if($_SESSION['count'] >= 3)?> 
of code gives me the following error message
Notice: Undefined index: count in C:\xampp\htdocs\vb\Step4.php on line 451 Number of Room/s
 
    
     
    
    You need to check for the existence of the count index before trying to use it - so:
<?php
    if( !empty( $_SESSION['count'] ) && intval( $_SESSION['count'] ) >= 3 ){/* do something */}
?>
You could use isset to test that the index has been defined but empty does that and also checks that whatever value is held does is not empty and not equate to false.
 
    
    Session with name 'count' is not set. i.e. The array $_SESSION does not any key with name 'count'.
Also, it is a NOTICE ( information ) not an ERROR.
