Hello, i want to set an auto detect registration form where the driver can only be permanent driver if he/she has >20 no of trip or else he/she is temporary. But i dont know how to do. im using html php
auto detect position
Collapse
X
-
What do mean by "auto detect registration form"? What are the input fields? You may need something like thisHello, i want to set an auto detect registration form where the driver can only be permanent driver if he/she has >20 no of trip or else he/she is temporary. But i dont know how to do. im using html php
Code://read form data if($no_of_trips > 20) { $type = 'permanent' } else { $type = 'temporary' } //insert into database
Comment