Learning PHP and MySQL

Question 05-01 What’s wrong with this function call?

This code is for Question 5-1.

<?php
//  define  a  function 
function  Response  {
  
echo  "Have  a  good  day!<br/><br/>";
}

//  driving  to  work
echo  "Are  you  going  to  merge?  <br/>"
Response;

//  at  the  office
echo  "I  need  a  status  report  on  all  your  projects  in  the  next  10  minutes  for  my management  meeting.<br/>";
Response;

//  at  the  pub  after  work
echo  "Did  Bill  get  everything  he  needed  today?  He  was  sure  crabby!<br/>"
Response;
?>

Posted by on 08/03 at 08:27 AM

Next entry: Example 06-01 Using the array function to create an array of weekdays

Previous entry: Example 05-20 Using the -> operator to call hypnotize

<< Back to main