can't work out the syntax error
| From: | Ross | Date: | Thu, 04 May 2006 12:38:34 +0000 |
| Subject: | can't work out the syntax error | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-235485@lists.php.net to get a copy of this message | ||
Hi,
The line was this.....
echo "<TD WIDTH=\"25%\" ALIGN=\"CENTER\">
<A
HREF=\"javascript:open_window('$PHP_SELF?action=view_record&userid=$userid');\">View</A>
<A HREF=\"$PHP_SELF?action=delete_record&userid=$userid\"
onClick=\"return confirm('Are you
sure?');\">Delete</A></TD>\n";
I have registered globals off so tried this...
echo "<TD WIDTH=\"25%\" ALIGN=\"CENTER\">
<A
HREF=\"javascript:open_window('$_SERVER['PHP_SELF']?action=view_record&userid=$userid');\">View</A>
What is the problem with it?
R.