A. Is it still giving that error?
B. If the message says in "pages/clan.php on line 14." then,
1) open pages/clan.php in the CodeEditor
2) Copy lines 10 thru 16
3) Post them here indicating clearly which is line 14 (or whatever the error message says)
You might also want to use phpMyAdmin to look at that particular table. How much data would that query return?
this is the code that i used when it gave me the error.
it only does it with sadmin_clan and sadmin_about.
Code:
//Retrieve settings
$stmt = $mysqli->prepare("SELECT * FROM sadmin_myths LIMIT 0, 5");
$stmt->execute();
$stmt->bind_result($id, $name, $value);
while ($stmt->fetch()){
$war = array('id' => $id, 'title' => $name, 'body' => $value);
echo '
<div class="cnt-box">
<div class="cnt-boxTop"><font color="#FF0000"><strong>Myth</strong></font> '.$name.'</div>
<div class="cnt-boxFiller">
<div class="cnt-boxInfo">
<p>
'.$value.'
</p>
</div>
</div>
<div class="cnt-boxFoot">
<div class="author">'.$name.'</div>
</div>
</div>
';
}
$stmt->close();
for about me page:
Code:
html format:
<div style="width:80%; word-wrap: break-word">B3rs3k3rs are a clan that loves to play games. We really don't care what game it is. We will play it<br><br>we are the B3rs3k3rs. We are a community of gamers that just loves to play games. anytype of games. minecraft, rpg, fps. if we can find it and get use to it we will play it. we do not allow hackers.</div>
viewed on screen:
B3rs3k3rs are a clan that loves to play games. We really don't care what game it is. We will play it
we are the B3rs3k3rs. We are a community of gamers that just loves to play games. anytype of games. minecraft, rpg, fps. if we can find it and get use to it we will play it. we do not allow hackers.
the clan page would just show my clan members in a definition list style format.
clan page:
html:
<dl class="border-around"><dt>bradley75</dt><dd>Rank: <img src="
http://crimsonminecraft.pcriot.com/images/ssgt3.gif" title="bradley75"/><br /> Member: <a href="
http://crimsonminecraft.pcriot.com/members/1/">bradley75</a><br /> Recruited: Mar 31, 2014 </dd>
</dl>
see on page:
xensor12
Rank:
Member:
xensor12
Recruited: Apr 01, 2014
i am using the old code til i can figure out something better.
i am using usercake v2.0.2 its a membership management framework. it was the only one i could find that would work with the server the one i really want needs php 5.5 or higher and last time i checked we didn't have that error.
i was using the usercake's mysql connection ways but the way i use to seems to work better.