Requested page not found.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
AliJ
Forum Commoner
Posts: 32
Joined: Sun Dec 06, 2009 8:03 pm

Requested page not found.

Post 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.
Post Reply