Dear Everyone,
I am very new to both PHP and MySQL. I have a MySQL database that includes a field called “max_rooms” with the values 1 or 2 set for each row in the database it applies to. In my HTML document, I have a form containing a “Rooms?” question with two choices that are radio buttons. My PHP and MySQL are connected properly; I just don’t know what to write in the Results PHP document so that the values are passed correctly.
Here is the Rooms question in my form:
<div id="question" class="line_height_none">
<h2 class="heads">Rooms Needed?</h2>
<li class="no_liststyle">
<input type="radio" name="max_rooms" value="1" style="margin-right:10px; margin-bottom:10px;"/>One
</li>
<li class="no_liststyle">
<input type="radio" name="max_rooms" value="2" style="margin-right:10px"/>Two
</li>
</div>
I don’t know if you need to see anything else.
Thank you so much!!!
Chava