• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

AAC znote aac myaccount.php help

Manigold

Active Member
Joined
Nov 2, 2017
Messages
199
Solutions
8
Reaction score
49
Hello i was trying to make the account page more cool and i was wondering if it's possible ( and how ) to change this part:
Instead selecting the character name and the action
account2.gif

I want to make it work like this ,clicking in the link goes to character comment part, delete character ,etc:
account1.gif
But i can't figure out how to do this by miself
I hope someone can help me with this =)
 
Solution
either:
change the parameters to be able to be passed through a hyperlink and using GET

myaccount.php?name=CharName&action=delete_character


or: (i'd use the first way)
Code:
<style>
.link-button {
     background: none;
     border: none;
     color: #FF0000;
     text-decoration: underline;
     cursor: pointer;
}
</style>

<form action="" method="post">
<input name="action" type="hidden" value="delete_character">
<input name="selected_character" type="hidden" value="CharName">
<input id="submit_button" type="submit" class="link-button" />
</form>
either:
change the parameters to be able to be passed through a hyperlink and using GET

myaccount.php?name=CharName&action=delete_character


or: (i'd use the first way)
Code:
<style>
.link-button {
     background: none;
     border: none;
     color: #FF0000;
     text-decoration: underline;
     cursor: pointer;
}
</style>

<form action="" method="post">
<input name="action" type="hidden" value="delete_character">
<input name="selected_character" type="hidden" value="CharName">
<input id="submit_button" type="submit" class="link-button" />
</form>
 
Solution
Back
Top