Hi,

> I keep getting errors in my script that says 'x' function 
> is undefined or 'y' function is undefined. I defined it as 
> 'function test ($a, $b)' and call it using 'test($a, $b)' 

You need to post code :-)

Try this:

<?php

  function test ($a, $b) 
  {
    echo "I am the test function<br />";
    echo "a is $a<br />";
    echo "b is $b<br />";
  }
  
  test(1, 2);
 
?>

Cheers
Jon

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to