RE: [PHP] OnClick problem
| From: | Dan Joseph | Date: | Thu, 10 Jul 2003 19:40:16 +0000 |
| Subject: | RE: [PHP] OnClick problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-154782@lists.php.net to get a copy of this message | ||
Hi,
> > Are you using the variable $_SERVER['PHP_SELF'] for your
> link target?
>
> I'm not, I'm a total newbie and don't quite understand, you mean
> instead of
> href="#" use href=$_SERVER['PHP_SELF']?
> Please bare with me and explain.
Yeah, it would be:
<a href="<? echo $_SERVER['PHP_SELF']; ?>">
If that doesn't work, could you paste in a few lines of code?
-Dan Joseph