Question: .Variable created outside of function in the main script are available within the function. (Explain by giving an example) a/ is it possible to include

  • .Variable created outside of function in the main script are available within the function. (Explain by giving an example)
    • a/
  • is it possible to include HTML in a PHP script file?explain by giving an example
  • here is a constant: define (LocalHost,127.0.0.1);
    • which one of the following is the correct way to refer to the above constant?
  • LocalHost
    • b.$LocaolHost
  • how many times will I love PHP programming!be printed in the following program segment?
    • $count = 0
    • While ($count<10)
    • eco
  • the PHP function isset() only returns false if a parameter name is missing. It still returns true if the parameter name exists. True or false
  • Data submitted through the HTTP post method is store in array $_POST. True or false
  • Create an array and call it products that will contain the following key and value pairs:
    • i.iphone :699
    • j.blackberry :300
    • k.Samsung :799
    • l.Nokia : 120
    • use a foreach loop to display the content of this array. Make sure to display both the key and value.
  • What will be the output of the following script?
    • $numbers = [100 , 200 ,300,400] ;
    • $values = array(Hello,world,from,csci2006 );
      • For ($i < count ( $numbers) ; $i++)
      • {
        • echo numbers[$i] = .$numbers[$i] .
          ;
        • echo values[$i] .
          ;
      • }
  • ?>
  • What classes of information are available via the $_server super global array?
  • Step by Step Solution

    There are 3 Steps involved in it

    1 Expert Approved Answer
    Step: 1 Unlock blur-text-image
    Question Has Been Solved by an Expert!

    Get step-by-step solutions from verified subject matter experts

    Step: 2 Unlock
    Step: 3 Unlock

    Students Have Also Explored These Related Databases Questions!