1. Question:How many ways session handling can be done? 

    Answer
    Session handling can be handled with the following:

     1. Use of cookies : the practice of storing bits of information on the client's machine.
     2. Use of session ID(SID) : Assigning each site visitor a unique identifying attribute.

    1. Report
  2. Question:What is the difference between characters \034 and \x34? 

    Answer
    \034 is octal 34 and \x34 is hex 34.

    1. Report
  3. Question:What is the benefit of using preparing statement? 

    Answer
    It is useful when we need to repeatedly execute the query with iteration using different parameters. 
    Prepared statement:
    1. Significantly lower cost of overhead
    2. Fewer lines of code.

    1. Report
  4. Question:What is the difference between fetch_row () and fetch_array()? 

    Answer
    fetch_row(): This function retrieves an entire row of data from result set, placing the values in an indexed array.
    fetch_array(): This function is really just an enhanced version of fetch_row(), offering the opportunity to retrieve each row of the result set as an associative array, a numerically indexed array, or both.

    1. Report
  5. Question:What is binding variables? 

    Answer
    Binding variables is a variable to which we can bind any table field to it so that if we  update binding variable that will effect to table field directly. However binding can be one or two way. In two way binding we can read-write data to table field with binding variable and one way binding is readonly.

    1. Report
  6. Question:What are configuration directives and scopes? Write an example for each scope. 

    Answer
    coming soon..

    1. Report
  7. Question:Write all bitwise operators in term of PHP. 

    Answer
    coming soon...

    1. Report
  8. Question:What is datatype? Write variable scope with an example for each scope. 

    Answer
    coming soon...

    1. Report
  9. Question:What are superglobals ? Give an example for each? 

    Answer
    coming soon...

    1. Report
  10. Question:

    Briefly describe the following PHP function with a suitable example:

    1. array_shift()
    2. isset()
    3. preg_match()
    4. fopen()
    5. file_put_content()
    6. list()
    7. explode()
    8. vprintf()
     

    Answer
    coming soon...

    1. Report
Copyright © 2024. Powered by Intellect Software Ltd