Skip to content

Tag: field

PHP selectfield get value from database, change and POST

I’m a beginner with PHP and have some decent issues ^^ Would like to pick the data from the field “disabled” from the database and update the selectfield with the value. The selectfield has 2 possible options “yes” and “no” (value 0 or 1). Now i would finally like to …

Ignore empty form fields when sending PHP

I’m fairly new to PHP so I understand enough to get myself confused, but not enough to accomplish anything productive. I have a sign-up form that allows the user to add up to five students. The form fields for each student is wrapped in their own div class (.student1, ,student2, .student3, .student4, an…