Using the original change name from myaac, but I wanted to add a lil spice.
The outcome I want: Characters thats in your account that is namelocked gets listed in container.
The outcome I have right now: No characters listed.
I know this might not even be remotely close, but as the logic I went with first didn't work either I tried to mess around, without success. Anyone willing to help & explain?
The outcome I want: Characters thats in your account that is namelocked gets listed in container.
The outcome I have right now: No characters listed.
I know this might not even be remotely close, but as the logic I went with first didn't work either I tried to mess around, without success. Anyone willing to help & explain?
PHP:
<tr>
<td>
<div class="InnerTableContainer" >
<table style="width:100%;" >
<tr>
<td class="LabelV" ><span>Character:</span></td>
<td style="width:90%;" >
<select name="player_id">
{% for player in account_logged.getPlayersList() %}
$lockedIds = mysql_select_single("SELECT `player_id` FROM `player_namelocks` WHERE `id`= '.player.getId().'");
{% if lockedIds == player.getId() %}
<option value="{{ player.getId() }}">{{ player.getName() }}</option>
{% endif %}
{% endfor %}
</select>
</td>
</tr>
Last edited: