Right now the links to the profile settings are like this:
Code:
http://example.com/profile.php?do=editprofile
I have added a custom Setting Page to Profile.php, using this code in profile.php:
Code:
$cmd = $_GET['cmd'];
switch($cmd)
{
case "extrasettings":
@include('profile_extra.php');
break;
}
However, to get to my custom setting page, the link is like this:
Code:
http://example.com/profile.php?cmd=extrasettings
My question is, how do I make the link show up as the other Profile Setting Links? How can I make the link show up like this: "
?do=extrasettings" instead of "
?cmd=extrasettings" . I would like to change the "cmd" to "do" like the other profile links.
Example:
Code:
http://example.com/profile.php?do=extrasettings