• 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!

MyAcc problems witch new pages

badovskz

New Member
Joined
Feb 8, 2018
Messages
16
Reaction score
0
Hello.

I have a problem adding a new page that would include php.

I am trying to make an "Auction system", after creating the page it crashes into it
1596825070128.png

Here is the code that I am trying to use

PHP:
<!--?php require_once 'engine/init.php'; include 'layout/overall/header.php';

    $cache = new Cache('engine/cache/ingmarket');
    if ($cache-&gt;hasExpired()) {
        $inGameAuctions = mysql_select_multi('SELECT `auction_system`.`player`, `auction_system`.`id`, `auction_system`.`item_name`, `auction_system`.`item_id`, `auction_system`.`count`, `auction_system`.`cost`, `auction_system`.`date`, `players`.`name` FROM `auction_system`, `players` WHERE `players`.`id` = `auction_system`.`player` ORDER BY `auction_system`.`id` DESC');
  
        $cache-&gt;setContent($inGameAuctions);
        $cache-&gt;save();
    } else {
        $inGameAuctions = $cache-&gt;load();
    }
    $players = 0;

    if (isset($_POST)) {
        if (isset($_POST['player']) &amp;&amp; ! empty($_POST['player'])) {
            $name = getValue($_POST['player']);
            $player_id = user_character_exist($name);

            $inGameAuctions = array_filter($inGameAuctions, function($auction) use($player_id) {
                return $player_id == $auction['player'];
            });
        }

        if (isset($_POST['item']) &amp;&amp; ! empty($_POST['item'])) {
            $item = getValue($_POST['item']);

            $inGameAuctions = array_filter($inGameAuctions, function($auction) use($item) {
                return strtolower($item) == strtolower($auction['item_name']);
            });
        }
    }
?-->
<table style="height: 291px;" border="0" width="100%" cellspacing="1" cellpadding="4">
<tbody>
<tr style="height: 18px;">
<th style="height: 18px;"><strong>Instruction </strong></th>
</tr>
<tr style="height: 273px;">
<td style="height: 273px;" align="center">
<h2>Commands</h2>
<strong>!offer add, itemName, itemPrice, itemCount</strong><br /> <small>example: !offer add, plate armor, 500, 1</small><br /><br /> <strong>!offer buy, AuctionID</strong><br /><small>example: !offer buy, 1943</small><br /><br /> <strong>!offer remove, AuctionID</strong><br /><small>example: !offer remove, 1943</small><br /><br /> <strong>!offer withdraw</strong><br /><small>Use this command to get money for sold items.</small></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<form action="" method="POST"><input name="player" type="text" placeholder="Player.." /> <input name="item" type="text" placeholder="Item.." /> <input type="submit" value="Search" /></form>
<table class="table table-striped table-bordered table-condensed" width="100%">
<tbody>
<tr>
<th align="center">AuctionID</th>
<th class="white">Image</th>
<th class="white">Item Name</th>
<th class="white">Player</th>
<th class="white">Count</th>
<th class="white">Price</th>
<th class="white">Buy Command</th>
</tr>
<!--?php
    if ($inGameAuctions) {
        foreach($inGameAuctions as $auction) {
            $players++;
            if(is_int($players / 2)) {
                $bgcolor = "black";
            } else {
                $bgcolor = "grey";
            }
            $cost = round($auction['cost']/1000, 2);
            ?-->
<tr>
<td>&nbsp;</td>
<td><img src="http://185.242.133.156/&quot;http:/items.************/&lt;?php" />.gif"/&gt;</td>
<td>&nbsp;</td>
<td><a href="http://185.242.133.156/characterprofile?name=&lt;?php echo $auction[" name="">'&gt; <!--?php echo $auction['name']; ?--> </a></td>
<td>&nbsp;</td>
<td><!--?php echo $cost;?-->k<br /><small><!--?php echo $auction['cost']; ?-->gp</small></td>
<td>!offer buy, <!--?php echo $auction['id']; ?--></td>
</tr>
<!--?php
        }
    } else {
        echo '&lt;tr&gt;&lt;td colspan="7"&gt;Currently no auctions exists..&lt;/td&gt;&lt;/tr&gt;';
    }
    echo '&lt;/table&gt;';
    echo '&lt;p align="right"&gt;&lt;span style="font-size: 9px;"&gt;System originally created by &lt;a href="https://otland.net/members/vdk.1553/"&gt;vDk&lt;/a&gt;. | Converted to ZnoteAAC and edited by &lt;a href="https://otland.net/members/halfaway.142275/"&gt;HalfAway&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;';

include 'layout/overall/footer.php'; ?--></tbody>
</table>

Php code is added directly when creating a new page, no matter what code I add, always the same error.
Ver Myacc 0.8.2

Thanks :)!
 
the "<!--" comment you are using is for HTML, it won't work for commenting out PHP code.

To comment PHP code you need to use "/* */".

Example:
PHP:
<?php

/*

 require_once 'engine/init.php'; include 'layout/overall/header.php';

    $cache = new Cache('engine/cache/ingmarket');
    if ($cache-&gt;hasExpired()) {
        $inGameAuctions = mysql_select_multi('SELECT `auction_system`.`player`, `auction_system`.`id`, `auction_system`.`item_name`, `auction_system`.`item_id`, `auction_system`.`count`, `auction_system`.`cost`, `auction_system`.`date`, `players`.`name` FROM `auction_system`, `players` WHERE `players`.`id` = `auction_system`.`player` ORDER BY `auction_system`.`id` DESC');
  
        $cache-&gt;setContent($inGameAuctions);
        $cache-&gt;save();
    } else {
        $inGameAuctions = $cache-&gt;load();
    }
    $players = 0;

    if (isset($_POST)) {
        if (isset($_POST['player']) &amp;&amp; ! empty($_POST['player'])) {
            $name = getValue($_POST['player']);
            $player_id = user_character_exist($name);

            $inGameAuctions = array_filter($inGameAuctions, function($auction) use($player_id) {
                return $player_id == $auction['player'];
            });
        }

        if (isset($_POST['item']) &amp;&amp; ! empty($_POST['item'])) {
            $item = getValue($_POST['item']);

            $inGameAuctions = array_filter($inGameAuctions, function($auction) use($item) {
                return strtolower($item) == strtolower($auction['item_name']);
            });
        }
    }

*/

?>

Also, this code seems to be wroten for ZnoteAAC. One need to convert it to work with MyAAC.
 
Try this:
PHP:
<?PHP
$auctions = $SQL->query('SELECT `auction_system`.`player`, `auction_system`.`id`, `auction_system`.`item_name`, `auction_system`.`item_id`, `auction_system`.`count`, `auction_system`.`cost`, `auction_system`.`date`, `players`.`name` FROM `auction_system`, `players` WHERE `players`.`id` = `auction_system`.`player` ORDER BY `auction_system`.`id` DESC')->fetchAll();
$players = 0;
$content2 = '';
$main_content .= '<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><TR BGCOLOR="'.$config['site']['vdarkborder'].'"><TD CLASS=white><b>Instruction<b></TD></TR><TR BGCOLOR='.$config['site']['darkborder'].'><TD><center><h2>Commands</h2><b>!offer add, itemName, itemPrice, itemCount</b><br /><small>example: !offer add, plate armor, 500, 1</small><br /><br /><B>!offer buy, AuctionID</b><br /><small>example: !offer buy, 1943</small><br /><br /><b>!offer remove, AuctionID</b><br /><small>example: !offer remove, 1943</small><br /><br /><b>!offer withdraw</b><br /><small>Use this command to get money for sold items.</small></center></TR></TD></TABLE><br />';
if(empty($auctions))
{
$main_content .= '<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><TR BGCOLOR="'.$config['site']['vdarkborder'].'"><TD CLASS=white><b>Auctions</b></td></TR><TR BGCOLOR='.$config['site']['darkborder'].'><TD>Currently is no one active Auction.</TD></TR></TABLE>';
$main_content .= '<br /><p align="right"><small>System created by <a href="http://otland.net/members/vDk/">vDk</a>.</small></p>';
}
else
{
foreach($auctions as $auction) {
$players++;
if(is_int($players / 2))
$bgcolor = $config['site']['lightborder'];
else
$bgcolor = $config['site']['darkborder'];
$cost = round($auction['cost']/1000, 2);
$content2 .= '<TR BGCOLOR='.$bgcolor.'><TD><center>'.$auction['id'].'</center></TD><TD><center><img src="/images/items/'.$auction['item_id'].'.gif"/></center></TD><TD><center>'.$auction['item_name'].'</center></TD><TD><center><a href="?subtopic=characters&name='.urlencode($auction['name']).'">'.$auction['name'].'</a></center></TD><TD><center>'.$auction['count'].'</center></TD><TD><center>'.$cost.'k<br /><small>'.$auction['cost'].'gp</small></center></TD><TD><center>!offer buy, '.$auction['id'].'</center></TR>';
}

$main_content .= '<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><TR BGCOLOR="'.$config['site']['vdarkborder'].'"><TD CLASS=white><b><center>ID</center></b></TD><TD class="white"><b><center>#</center></b></TD><TD class="white"><b><center>Item Name</center></b></TD><TD class="white"><b><center>Player</center></b></TD><TD class="white"><b><center>Count</center></b></TD><TD class="white"><b><center>Cost</center></b></td><TD class="white"><b><center>Buy</center></b></td></TR>'.$content2.'</TABLE>';
$main_content .= '<br /><p align="right"><small>System created by <a href="http://otland.net/members/vdk.1553/">vDk</a>.</small></p>';
}
    ?>
 
thanks for the answer

unfortunately after using your code it looks like this
1596972443011.png
PHP:
<?PHP
$auctions = $SQL->query('SELECT `auction_system`.`player`, `auction_system`.`id`, `auction_system`.`item_name`, `auction_system`.`item_id`, `auction_system`.`count`, `auction_system`.`cost`, `auction_system`.`date`, `players`.`name` FROM `auction_system`, `players` WHERE `players`.`id` = `auction_system`.`player` ORDER BY `auction_system`.`id` DESC')->fetchAll();
$players = 0;
$content2 = '';
$main_content .= '<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><TR BGCOLOR="'.$config['site']['vdarkborder'].'"><TD CLASS=white><b>Instruction<b></TD></TR><TR BGCOLOR='.$config['site']['darkborder'].'><TD><center><h2>Commands</h2><b>!offer add, itemName, itemPrice, itemCount</b><br /><small>example: !offer add, plate armor, 500, 1</small><br /><br /><B>!offer buy, AuctionID</b><br /><small>example: !offer buy, 1943</small><br /><br /><b>!offer remove, AuctionID</b><br /><small>example: !offer remove, 1943</small><br /><br /><b>!offer withdraw</b><br /><small>Use this command to get money for sold items.</small></center></TR></TD></TABLE><br />';
if(empty($auctions))
{
$main_content .= '<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><TR BGCOLOR="'.$config['site']['vdarkborder'].'"><TD CLASS=white><b>Auctions</b></td></TR><TR BGCOLOR='.$config['site']['darkborder'].'><TD>Currently is no one active Auction.</TD></TR></TABLE>';
$main_content .= '<br /><p align="right"><small>System created by <a href="http://otland.net/members/vDk/">vDk</a>.</small></p>';
}
else
{
foreach($auctions as $auction) {
$players++;
if(is_int($players / 2))
$bgcolor = $config['site']['lightborder'];
else
$bgcolor = $config['site']['darkborder'];
$cost = round($auction['cost']/1000, 2);
$content2 .= '<TR BGCOLOR='.$bgcolor.'><TD><center>'.$auction['id'].'</center></TD><TD><center><img src="/images/items/'.$auction['item_id'].'.gif"/></center></TD><TD><center>'.$auction['item_name'].'</center></TD><TD><center><a href="?subtopic=characters&name='.urlencode($auction['name']).'">'.$auction['name'].'</a></center></TD><TD><center>'.$auction['count'].'</center></TD><TD><center>'.$cost.'k<br /><small>'.$auction['cost'].'gp</small></center></TD><TD><center>!offer buy, '.$auction['id'].'</center></TR>';
}

$main_content .= '<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><TR BGCOLOR="'.$config['site']['vdarkborder'].'"><TD CLASS=white><b><center>ID</center></b></TD><TD class="white"><b><center>#</center></b></TD><TD class="white"><b><center>Item Name</center></b></TD><TD class="white"><b><center>Player</center></b></TD><TD class="white"><b><center>Count</center></b></TD><TD class="white"><b><center>Cost</center></b></td><TD class="white"><b><center>Buy</center></b></td></TR>'.$content2.'</TABLE>';
$main_content .= '<br /><p align="right"><small>System created by <a href="http://otland.net/members/vdk.1553/">vDk</a>.</small></p>';
}
    ?>

but I'm using this code, and it looks like this

1596972496117.png
PHP:
<!--?php require_once 'engine/init.php'; include 'layout/overall/header.php';

    $cache = new Cache('engine/cache/ingmarket');
    if ($cache->hasExpired()) {
        $inGameAuctions = mysql_select_multi('SELECT `auction_system`.`player`, `auction_system`.`id`, `auction_system`.`item_name`, `auction_system`.`item_id`, `auction_system`.`count`, `auction_system`.`cost`, `auction_system`.`date`, `players`.`name` FROM `auction_system`, `players` WHERE `players`.`id` = `auction_system`.`player` ORDER BY `auction_system`.`id` DESC');
 
        $cache->setContent($inGameAuctions);
        $cache->save();
    } else {
        $inGameAuctions = $cache->load();
    }
    $players = 0;

    if (isset($_POST)) {
        if (isset($_POST['player']) && ! empty($_POST['player'])) {
            $name = getValue($_POST['player']);
            $player_id = user_character_exist($name);

            $inGameAuctions = array_filter($inGameAuctions, function($auction) use($player_id) {
                return $player_id == $auction['player'];
            });
        }

        if (isset($_POST['item']) && ! empty($_POST['item'])) {
            $item = getValue($_POST['item']);

            $inGameAuctions = array_filter($inGameAuctions, function($auction) use($item) {
                return strtolower($item) == strtolower($auction['item_name']);
            });
        }
    }
?-->
<table style="height: 291px;" border="0" width="100%" cellspacing="1" cellpadding="4">
<tbody>
<tr style="height: 18px;">
<th style="height: 18px;"><strong>Instruction </strong></th>
</tr>
<tr style="height: 273px;">
<td style="height: 273px;" align="center">
<h2>Commands</h2>
<strong>!offer add, itemName, itemPrice, itemCount</strong><br /> <small>example: !offer add, plate armor, 500, 1</small><br /><br /> <strong>!offer buy, AuctionID</strong><br /><small>example: !offer buy, 1943</small><br /><br /> <strong>!offer remove, AuctionID</strong><br /><small>example: !offer remove, 1943</small><br /><br /> <strong>!offer withdraw</strong><br /><small>Use this command to get money for sold items.</small></td>
</tr>
</tbody>
</table>
<p> </p>
<form action="" method="POST"><input name="player" type="text" placeholder="Player.." /> <input name="item" type="text" placeholder="Item.." /> <input type="submit" value="Search" /></form>
<table class="table table-striped table-bordered table-condensed" width="100%">
<tbody>
<tr>
<th align="center">AuctionID</th>
<th class="white">Image</th>
<th class="white">Item Name</th>
<th class="white">Player</th>
<th class="white">Count</th>
<th class="white">Price</th>
<th class="white">Buy Command</th>
</tr>
<!--?php
    if ($inGameAuctions) {
        foreach($inGameAuctions as $auction) {
            $players++;
            if(is_int($players / 2)) {
                $bgcolor = "black";
            } else {
                $bgcolor = "grey";
            }
            $cost = round($auction['cost']/1000, 2);
            ?-->
<tr>
<td> </td>
<td><img src="http://185.242.133.156/"http:/items.************/<?php" />.gif"/></td>
<td> </td>
<td><a href="http://185.242.133.156/characterprofile?name=<?php echo $auction[" name="">'> <!--?php echo $auction['name']; ?--> </a></td>
<td> </td>
<td><!--?php echo $cost;?-->k<br /><small><!--?php echo $auction['cost']; ?-->gp</small></td>
<td>!offer buy, <!--?php echo $auction['id']; ?--></td>
</tr>
<!--?php
        }
    } else {
        echo '<tr><td colspan="7">Currently no auctions exists..</td></tr>';
    }
    echo '</table>';
    echo '<p align="right"><span style="font-size: 9px;">System originally created by <a href="https://otland.net/members/vdk.1553/">vDk</a>. | Converted to ZnoteAAC and edited by <a href="https://otland.net/members/halfaway.142275/">HalfAway</a>.</span></p>';

include 'layout/overall/footer.php'; ?--></tbody>
</table>

how to fix that loading items from the database?

I will add and add the script in MyAcc> Pages as text, without selecting PHP functions

1596972706641.png
because if you select php functions, it crashes as above showed

#edit
I will add that when I use this code, what you provided pops up exactly like this error when im used function PHP
1596973038489.png
 
thanks for the answer

unfortunately after using your code it looks like this
View attachment 48284
PHP:
<?PHP
$auctions = $SQL->query('SELECT `auction_system`.`player`, `auction_system`.`id`, `auction_system`.`item_name`, `auction_system`.`item_id`, `auction_system`.`count`, `auction_system`.`cost`, `auction_system`.`date`, `players`.`name` FROM `auction_system`, `players` WHERE `players`.`id` = `auction_system`.`player` ORDER BY `auction_system`.`id` DESC')->fetchAll();
$players = 0;
$content2 = '';
$main_content .= '<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><TR BGCOLOR="'.$config['site']['vdarkborder'].'"><TD CLASS=white><b>Instruction<b></TD></TR><TR BGCOLOR='.$config['site']['darkborder'].'><TD><center><h2>Commands</h2><b>!offer add, itemName, itemPrice, itemCount</b><br /><small>example: !offer add, plate armor, 500, 1</small><br /><br /><B>!offer buy, AuctionID</b><br /><small>example: !offer buy, 1943</small><br /><br /><b>!offer remove, AuctionID</b><br /><small>example: !offer remove, 1943</small><br /><br /><b>!offer withdraw</b><br /><small>Use this command to get money for sold items.</small></center></TR></TD></TABLE><br />';
if(empty($auctions))
{
$main_content .= '<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><TR BGCOLOR="'.$config['site']['vdarkborder'].'"><TD CLASS=white><b>Auctions</b></td></TR><TR BGCOLOR='.$config['site']['darkborder'].'><TD>Currently is no one active Auction.</TD></TR></TABLE>';
$main_content .= '<br /><p align="right"><small>System created by <a href="http://otland.net/members/vDk/">vDk</a>.</small></p>';
}
else
{
foreach($auctions as $auction) {
$players++;
if(is_int($players / 2))
$bgcolor = $config['site']['lightborder'];
else
$bgcolor = $config['site']['darkborder'];
$cost = round($auction['cost']/1000, 2);
$content2 .= '<TR BGCOLOR='.$bgcolor.'><TD><center>'.$auction['id'].'</center></TD><TD><center><img src="/images/items/'.$auction['item_id'].'.gif"/></center></TD><TD><center>'.$auction['item_name'].'</center></TD><TD><center><a href="?subtopic=characters&name='.urlencode($auction['name']).'">'.$auction['name'].'</a></center></TD><TD><center>'.$auction['count'].'</center></TD><TD><center>'.$cost.'k<br /><small>'.$auction['cost'].'gp</small></center></TD><TD><center>!offer buy, '.$auction['id'].'</center></TR>';
}

$main_content .= '<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><TR BGCOLOR="'.$config['site']['vdarkborder'].'"><TD CLASS=white><b><center>ID</center></b></TD><TD class="white"><b><center>#</center></b></TD><TD class="white"><b><center>Item Name</center></b></TD><TD class="white"><b><center>Player</center></b></TD><TD class="white"><b><center>Count</center></b></TD><TD class="white"><b><center>Cost</center></b></td><TD class="white"><b><center>Buy</center></b></td></TR>'.$content2.'</TABLE>';
$main_content .= '<br /><p align="right"><small>System created by <a href="http://otland.net/members/vdk.1553/">vDk</a>.</small></p>';
}
    ?>

but I'm using this code, and it looks like this

View attachment 48286
PHP:
<!--?php require_once 'engine/init.php'; include 'layout/overall/header.php';

    $cache = new Cache('engine/cache/ingmarket');
    if ($cache->hasExpired()) {
        $inGameAuctions = mysql_select_multi('SELECT `auction_system`.`player`, `auction_system`.`id`, `auction_system`.`item_name`, `auction_system`.`item_id`, `auction_system`.`count`, `auction_system`.`cost`, `auction_system`.`date`, `players`.`name` FROM `auction_system`, `players` WHERE `players`.`id` = `auction_system`.`player` ORDER BY `auction_system`.`id` DESC');

        $cache->setContent($inGameAuctions);
        $cache->save();
    } else {
        $inGameAuctions = $cache->load();
    }
    $players = 0;

    if (isset($_POST)) {
        if (isset($_POST['player']) && ! empty($_POST['player'])) {
            $name = getValue($_POST['player']);
            $player_id = user_character_exist($name);

            $inGameAuctions = array_filter($inGameAuctions, function($auction) use($player_id) {
                return $player_id == $auction['player'];
            });
        }

        if (isset($_POST['item']) && ! empty($_POST['item'])) {
            $item = getValue($_POST['item']);

            $inGameAuctions = array_filter($inGameAuctions, function($auction) use($item) {
                return strtolower($item) == strtolower($auction['item_name']);
            });
        }
    }
?-->
<table style="height: 291px;" border="0" width="100%" cellspacing="1" cellpadding="4">
<tbody>
<tr style="height: 18px;">
<th style="height: 18px;"><strong>Instruction </strong></th>
</tr>
<tr style="height: 273px;">
<td style="height: 273px;" align="center">
<h2>Commands</h2>
<strong>!offer add, itemName, itemPrice, itemCount</strong><br /> <small>example: !offer add, plate armor, 500, 1</small><br /><br /> <strong>!offer buy, AuctionID</strong><br /><small>example: !offer buy, 1943</small><br /><br /> <strong>!offer remove, AuctionID</strong><br /><small>example: !offer remove, 1943</small><br /><br /> <strong>!offer withdraw</strong><br /><small>Use this command to get money for sold items.</small></td>
</tr>
</tbody>
</table>
<p> </p>
<form action="" method="POST"><input name="player" type="text" placeholder="Player.." /> <input name="item" type="text" placeholder="Item.." /> <input type="submit" value="Search" /></form>
<table class="table table-striped table-bordered table-condensed" width="100%">
<tbody>
<tr>
<th align="center">AuctionID</th>
<th class="white">Image</th>
<th class="white">Item Name</th>
<th class="white">Player</th>
<th class="white">Count</th>
<th class="white">Price</th>
<th class="white">Buy Command</th>
</tr>
<!--?php
    if ($inGameAuctions) {
        foreach($inGameAuctions as $auction) {
            $players++;
            if(is_int($players / 2)) {
                $bgcolor = "black";
            } else {
                $bgcolor = "grey";
            }
            $cost = round($auction['cost']/1000, 2);
            ?-->
<tr>
<td> </td>
<td><img src="http://185.242.133.156/"http:/items.************/<?php" />.gif"/></td>
<td> </td>
<td><a href="http://185.242.133.156/characterprofile?name=<?php echo $auction[" name="">'> <!--?php echo $auction['name']; ?--> </a></td>
<td> </td>
<td><!--?php echo $cost;?-->k<br /><small><!--?php echo $auction['cost']; ?-->gp</small></td>
<td>!offer buy, <!--?php echo $auction['id']; ?--></td>
</tr>
<!--?php
        }
    } else {
        echo '<tr><td colspan="7">Currently no auctions exists..</td></tr>';
    }
    echo '</table>';
    echo '<p align="right"><span style="font-size: 9px;">System originally created by <a href="https://otland.net/members/vdk.1553/">vDk</a>. | Converted to ZnoteAAC and edited by <a href="https://otland.net/members/halfaway.142275/">HalfAway</a>.</span></p>';

include 'layout/overall/footer.php'; ?--></tbody>
</table>

how to fix that loading items from the database?

I will add and add the script in MyAcc> Pages as text, without selecting PHP functions

View attachment 48287
because if you select php functions, it crashes as above showed

#edit
I will add that when I use this code, what you provided pops up exactly like this error when im used function PHP
View attachment 48289

You need to check that "PHP" Checkbox before saving page.
 
Back
Top