php - My FOR loop wont bring the data from the table -


I am building a room booking system and this piece of code is to fetch data from my table < For the former> ($ period = 1; $ period & lt; 6: $ period ++) {resonant "<"> $ Period "& Lt; / td>"; $ Rooms = 0; $ Room & lt; Size ($ rooms_are); $ Rooms ++) {$ sql = "select-from where room id =" ". $ Rooms_array [$ room]". '' And period = '' $. Period. '' And date = '"$ sent."' '; // execute SQL query $ result = sqlite_query ($ con, $ sql); if ($ result = 0) {Resonates & lt; Td> & Lt; / Td> ";} {Echo" & lt; Td> Boxcade & lt; post-text "itemprop =" text ">

You have a <<>

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -