Hi, I am tyring to exucte a function from a table row using A href PHPSELF, but I am getting a parse error. Any help is appreciated.
Here is my code:
<td align="center" width="100"><b><? echo "<a href=\"$dir/$file\" target=\"_blank\">$acct</a>"; ?></b> <b> <? if ($flag == 'Y') { echo "<A HREF="$PHP_SELF?action=getsubact($snam)}">C</A>"; ?></b></td>
Error message:
Parse error: parse error, expecting ','' or';'' in /www/webserver/htdocs/tab2.php on line 4
Thanks in advance