lundi 10 juillet 2017

Display data from database as checkbox

So I was surfing the net including stackoverflow about my problem, but the ones here are too complicated. I'm trying out the simplest way in displaying data from the database as checkboxes.

Here are the fields in my database

table name:checkbox_beef fields: beef_id(int 11) auto increment beef_name(varchar 250) beef_price(int 11) beef_image(varchar 250) beef_date (date)

I created two files, add_menu.php and reservation.php

add_menu.php is where I'll insert data in the database, while the reservation.php is where the data(beef_name) from database will be displayed as "checkboxes".

Can someone help me? I'm trying to use mysqli in this situation. Thank you!




Aucun commentaire:

Enregistrer un commentaire