Jump to content

ciriusrob

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

ciriusrob's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. @ignace: i don't know how to thank you. i screwed up already but i think with this i can get to practice more and understand the concept of php programming. U R MAN..
  2. I screwed up in a job interview when i was presented with these scenarios. I am a newbie in programming and I couldn't even get the logic or approach around the scenario let alone coding it. Can someone help by giving me the logic and approach in plain English so I'll try and code myself please...???
  3. Can some PHP guru help me with this scenarios? I've been wondering around these for hours and can't find my way around it. Please... 1. Write a function in PHP that takes three parameters (representing day, month and year) and calculates the day/month/year of the following day (for example, if the parameter is 31/10/2010, the result should be 01/11/2010). No need to take into account leap years. You cannot use any date/time specific functions, you must do it "by hand" (no built-in functions).. 2. Write a function in PHP that takes a string and counts the number of occurrences of any given letter in it (for example, given the string "HELLO" as a parameter, there are two occurrences of "L", one of "H", one of "E", one of "O" and zero of any other character).
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.