lubunttu
New Member
- Joined
- May 17, 2016
- Messages
- 107
- Reaction score
- 2
How to echo Flag (img/or writed) AND marriage partner in my characterprofile.php
My fail code:
characterprofile.php
http://pastebin.com/ETDW9cBa
To add flags i used:
Following this tutorial:
https://otland.net/threads/znote-aac-flags-for-characterview-and-highscores.167053/
To add marriage system i used:
Following this tutorial:
https://otland.net/threads/marriage-system-8-6-fixed.161590/
My fail code:
Code:
<li><font class="profile_font" name="profile_font_level"><b>Country: </b><?php
echo $profile_data['flag'];
?></font></li>
<li><font class="profile_font" name="profile_font_level"><b>Marriage: </b><?php
echo $profile_data['marriage'];
?></font></li>
characterprofile.php
http://pastebin.com/ETDW9cBa
To add flags i used:
Code:
ALTER TABLE `accounts`
ADD `flag` VARCHAR( 20 ) NOT NULL;
Code:
ALTER TABLE `znote_accounts`
ADD `flag` VARCHAR( 20 ) NOT NULL;
Following this tutorial:
https://otland.net/threads/znote-aac-flags-for-characterview-and-highscores.167053/
To add marriage system i used:
Code:
CREATE TABLE marriage_system (
id INTEGER NOT NULL,
player_id INTEGER NOT NULL,
partner VARCHAR( 255 ) NOT NULL,
marriage_date INTEGER NOT NULL,
PRIMARY KEY ( id )
);
Following this tutorial:
https://otland.net/threads/marriage-system-8-6-fixed.161590/