www.webdeveloper.com
Results 1 to 4 of 4

Thread: Can you design a PHP calculator using only PHP or would you need HTML for input??

  1. #1
    Join Date
    Feb 2012
    Location
    Sacramento, CA
    Posts
    64

    Can you design a PHP calculator using only PHP or would you need HTML for input??

    I was asked this question in an interview recently and I told the guy, yes, you can make a PHP calculator using ONLY PHP.. Geez, I hope I was right..

  2. #2
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    19,175
    You could write a command line script, or even a web script that returns text/plain or text/json instead of HTML.
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

  3. #3
    Join Date
    Feb 2012
    Location
    Sacramento, CA
    Posts
    64
    Ok so the answer was yes.. Thanks.

  4. #4
    Join Date
    May 2003
    Posts
    599
    Was this an interview for a web designer type position? If he was trying to assess your distinction of the different web technologies...For that purpose I think he was probably looking for "no". Most calculators are done with HTML and Javascript, technicalities aside they don't usually involve PHP...but again it all depends on the exact position being applied for.
    We do precision guesswork

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles