title: PHP complex form
body: <p>I'm trying to figure out how one would construct an HTML form that is complex. let me explain below .</p>
  
  <p>For example in the form i have a drop down menu for electronic devices if choose mobile then serial number, model name, make year etc.. will ask with text box(which can be done easily with angular)
  then a radio button and ask is sim card  included ? YES OR NO, if yes then sim card number sim expiration etc ...
  Same like other devices like laptops has Hard Disk included or not ? </p>
  
  <p>How can i build some kind of tree architecture form with php ?</p>