vendredi 18 décembre 2015

how to count for select option in laravel 5?

  1. what should i do to get the counting number of selected option rather than calling it from database? i mean that the selected data will count automatically. for example, i have 20 numbers. when i select the 5 data, it will count automatically from 1 to 5. not tak the number from database because the number from database are linked to the data.
  2. how can i link the parameter to print data with select option without setup manually? for example, i have 2 rows named computer_type and computer_name. when i select computer_type : 'lenovo' it will produce computer_name : 'a2, a3, a4, a5'. so, here i want print it directly rather than manually set it in view page.


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire