What is this error in MYSQL statment
mysqli_query($con,"INSERT INTO stores(name, store_type, hours, rating_txt, rating_star, address_id) VALUES (".$name.",".$store_type.",".$hours.",".$rating_text.",".$rating_star.",".$address_count.")"))
What is this error in MYSQL statment
mysqli_query($con,"INSERT INTO stores(name, store_type, hours, rating_txt, rating_star, address_id) VALUES (".$name.",".$store_type.",".$hours.",".$rating_text.",".$rating_star.",".$address_count.")"))
 
    
    variable need to be inside single quotes.
change ".$name." 
into
'".$name."' or or '.$name.' or  '$name'
 
    
    You should sanitize your input values, i.e. use prepared statements.
If you only use mysqli_real_escape_string for sanitizing you need to quote (most) values.
You've got one closing bracket too much.
