Page 1 of 1

Requested page not found.

Posted: Sun Dec 20, 2009 8:58 am
by AliJ
Hello,
I have this code for deleting a topic on my website and now when you try delete at topic, my website loads up and at the top it says the requested page was not found.
Here is the code:

Code: Select all

if($moderator || $administrator)
{
    echo '<li><a href="/delete_topic/' . $_GET['id'] . '" onclick="return submitDummyForm(\'/delete_topic/' . $_GET['id'] . '\', \'id\', ' . $_GET['id'] . ', \'Really delete this topic?\');">Delete</a></li>';
Any idea what's wrong?
Any help is appreciated.
Thank you,

Ali J.