TheGreenOne
Programmer
Hi All,
I'm a php newbe.
What is wrong with this php function?
function testfunction (arg1) {
$avar=arg1;
}
I am getting this error:
Parse error: parse error, unexpected T_STRING, expecting ')' in /homepages/7/d92446751/htdocs/proj/connect.php on line 27
the function starts on line 27.
it is in the header of a php file.
it is within <?php ?>
I'm a php newbe.
What is wrong with this php function?
function testfunction (arg1) {
$avar=arg1;
}
I am getting this error:
Parse error: parse error, unexpected T_STRING, expecting ')' in /homepages/7/d92446751/htdocs/proj/connect.php on line 27
the function starts on line 27.
it is in the header of a php file.
it is within <?php ?>