You will create four pages for your site: salespeople.php, clients.php, calls.php & users.sql…
You will create four pages for your site: salespeople.php, clients.php, calls.php & users.sql Each php page will use a new function that you will create called “display_form” that will take, as its only parameter, an array of associative arrays. display_form array array( type” -> “text”. “name”>”+irst name “value” => “label” –> “First Name > array( “type” -> “text”, “name”=>”last_name “value”=>”” “label”->Last Name array( “type” -> “email”, name => “estail” “value” => “label” -> “Email” >. array( **type”->”number name => “extension”, value”-> “label”=>”Extension” | Each item in the inner array corresponds to a field in the displayed form. For instance, in the above example, the third element will end up drawing an input of type “email”, name “email”, with no default value and a label that reads “Email”. User Registration/Update On the salespeople.php page you will create a user registration form. The form will submit to itself. You are encouraged to style this form to match the rest of your site. On submission (ie POST), the salesperson will be created. A banner message indicating success is required. If the form fails to validate, it will be displayed with fields prefilled with the appropriate information. Note that password information should never be “sticky”. Email addresses need to be checked at a basic level for validity (see email validation) and number fields should be checked to ensure they are numbers. If the script fails to insert a record, there needs to be an error message, even if you cannot isolate the validation en Sr. i Enter Details Firstname Lastname Email address Password Submit Form Inputs from Database Records On the clients.php page you will create a form. The salesperson who was created will be able to create clients. Similarly, clients (that is, customers of your company) can be created by salespeople. If the user is a salesperson, on submit the entry will reflect that information. For instance, if I were to create a client, we can safely assume that it is my client, and I am not creating him or her on someone else’s behalf. The data should reflect this. The form should include a dropdown list of salespeople that have been created. Finally, the salesperson will be able to create a “call” record. localhostients.php First Name Last Name Email esperson Person Sales Extension Submit Database Creation/Population On your users.sql you will create tables seeded with default data. The clients should include a phone number, email, extension (optional), first name and last name. Note they will not require a password, since they are not users and will not be signing into the system. It is safe to assume that emails will be unique across the entire system but remember that emails make terrible database ids. It will also be necessary to associate every client with one and only one salesperson, using a foreign key.
Any citation style (APA, MLA, Chicago/Turabian, Harvard)
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.