Hi All,
I am trying to pass the string argument in my function, for that i wrote these lines.
But it doesn't give any output for me.
Where i made the mistake,
<?php
class test
{
var $val;
function test1($argu)
{
$this->val = $argu;
return true;
}
}
$mytest = new test();
$mytest->test1("Hi that's it");
?>
Thanks,
IM