Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Help with an error in my CMS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="FirefighterKyle" data-source="post: 203731" data-attributes="member: 22469"><p>Then what do you mean by</p><p> </p><p> </p><p>"The query is not returning any results. What is the value of $getCorpID ?</p><p> </p><p>Try running the query by itself to see what results it gives."</p><p> </p><p> </p><p>Okay I fixed the error but it doesn't show the cop log tho I mean I have it all right here <a href="http://prntscr.com/1487w8" target="_blank">http://prntscr.com/1487w8</a> but it doesn't show on here <a href="http://prntscr.com/1487yf" target="_blank">http://prntscr.com/1487yf</a> I will up load the code so you can see or anyone can see what they can do to fix it for me</p><p>[SPOILER]<h2 class="title">Recent Activity</p><p></h2></p><p> </p><p><div id="credits-safety" class="box-content credits-info"></p><p> </p><p><div class="credit-info-text clearfix"></p><p> </p><p><table width="100%"></p><p> </p><p><tr style="font-weight:bold"></p><p> </p><p><td>Target</td></p><p> </p><p><td>Master</td></p><p> </p><p><td>Action</td></p><p> </p><p><td></td></p><p> </p><p></tr></p><p> </p><p> <?php</p><p>$getCorp1 = mysql_query("SELECT * FROM jobs_corps WHERE id = '".$getCorpID."' ORDER BY id DESC LIMIT 25");</p><p>while ($corpLog = mysql_fetch_array($getCorp1)) {</p><p>?></p><p> </p><p><tr></p><p> </p><p><td><?php echo $corpLog['target']; ?></td></p><p> </p><p><td><?php echo $corpLog['master']; ?></td></p><p> </p><p><td><?php echo $corpLog['action']; ?></td></p><p> </p><p><td><img src="./info.png" onMouseover="ddrivetip('ID: <?php echo $corpLog['id']; ?>')";</p><p>onMouseout="hideddrivetip()" /></td></p><p> </p><p></tr></p><p> </p><p> <?php</p><p>}</p><p>?>[/SPOILER]</p></blockquote><p></p>
[QUOTE="FirefighterKyle, post: 203731, member: 22469"] Then what do you mean by "The query is not returning any results. What is the value of $getCorpID ? Try running the query by itself to see what results it gives." Okay I fixed the error but it doesn't show the cop log tho I mean I have it all right here [url]http://prntscr.com/1487w8[/url] but it doesn't show on here [url]http://prntscr.com/1487yf[/url] I will up load the code so you can see or anyone can see what they can do to fix it for me [SPOILER]<h2 class="title">Recent Activity </h2> <div id="credits-safety" class="box-content credits-info"> <div class="credit-info-text clearfix"> <table width="100%"> <tr style="font-weight:bold"> <td>Target</td> <td>Master</td> <td>Action</td> <td></td> </tr> <?php $getCorp1 = mysql_query("SELECT * FROM jobs_corps WHERE id = '".$getCorpID."' ORDER BY id DESC LIMIT 25"); while ($corpLog = mysql_fetch_array($getCorp1)) { ?> <tr> <td><?php echo $corpLog['target']; ?></td> <td><?php echo $corpLog['master']; ?></td> <td><?php echo $corpLog['action']; ?></td> <td><img src="./info.png" onMouseover="ddrivetip('ID: <?php echo $corpLog['id']; ?>')"; onMouseout="hideddrivetip()" /></td> </tr> <?php } ?>[/SPOILER] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Help with an error in my CMS
Top