1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

  2. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

query issues in sql

Discussão em 'Outras Linguagens' iniciado por Stack, Janeiro 21, 2021.

  1. Stack

    Stack Membro Participativo

    somebody kindly help me understand why my query below is not working. What i want to achieve is to do away with rooms in between the two dates(dates i am getting them from a form). Any time i make a booking with similar dates as the previous one, I still get the room in my options list.

    $records = mysqli_query($con, "SELECT DISTINCT TRoom FROM roombook WHERE not cin >= '$checkin' AND cout <= '$checkout' ");

    Continue reading...

Compartilhe esta Página