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.
Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

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.

Money-back guarantee

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.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more
error: Content is protected !!