Php function questions

Hi guys,

I am trying to understand these questions regarding function and how or where can i get some knowledge to understand and create the code.

questions are:

  1. Open the text file “status.txt” as read only using variable $handle to store the file handle.
  2. Begin a session. (what does it mean begin session? does it mean start using the if condition?)
  3. Return the number of elements in array $days.
  4. Convert an array $data with five elements into a string that is delimited by tab.
    (what does it mean by delimited by tab?)
  5. Check if the form text item “status” obtained via get method is empty.

Thank you in advance!

1: search (google / php manual) for php open file
http://php.net/manual/en/function.fopen.php

2: search (google / php manual) for php session
http://php.net/manual/en/features.sessions.php

3: search (google / php manual) for php array
http://php.net/manual/en/language.types.array.php

4: search (google) delimited

(adj.) A type of data format in which each piece of data is separated by a comma. This is a popular format for transferring data from one application to another, because most database systems are able to import and export comma-delimited data.
http://www.webopedia.com/TERM/C/comma_delimited.html

5: http://php.net/manual/en/reserved.variables.get.php

Sponsor our Newsletter | Privacy Policy | Terms of Service