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
Azure emulator + RevCms Need help / Skype
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="JayC" data-source="post: 340652" data-attributes="member: 36373"><p>OT: Take a look at the rules, asking for help not on the forums is against the rules of DevBest help threads.</p><p>On Topic:</p><p>Second of all for the news:</p><p>You even posted the code </p><p>$template->setParams('newsTitle', $news['title']);$template->setParams('newsContent', $news['longstory']);$template->setParams('newsAuthor', $news['author']);$template->setParams('newsDate', date("d-m-y", $news['published']));</p><p> </p><p>where do you see newsCaption-1/2/3/4 even being declared?? Where is newsCaption eve declared in that? If you want to do that I would just create a new query at the top like this:</p><p>$GrabCaptions = mysql_query("SELECT * from NEWS WHERE title = '.{newsTitle}.' = ORDER BY date_published DESC");</p><p>$Captions = mysql_fetch_assoc($GrabCaptions);</p><p></p><p>echo $Captions['caption'];</p><p></p><p>very brief code you will need to expand on it and probably work things around to get it to work, this is just the general concept/idea</p><p></p><p>Nextly:</p><p>$getRanks = mysql_query("SELECT * FROM users WHERE `rank` ='7' ORDER BY id DESC"); </p><p>while ($Ranks = mysql_fetch_assoc($getRanks))</p></blockquote><p></p>
[QUOTE="JayC, post: 340652, member: 36373"] OT: Take a look at the rules, asking for help not on the forums is against the rules of DevBest help threads. On Topic: Second of all for the news: You even posted the code $template->setParams('newsTitle', $news['title']);$template->setParams('newsContent', $news['longstory']);$template->setParams('newsAuthor', $news['author']);$template->setParams('newsDate', date("d-m-y", $news['published'])); where do you see newsCaption-1/2/3/4 even being declared?? Where is newsCaption eve declared in that? If you want to do that I would just create a new query at the top like this: $GrabCaptions = mysql_query("SELECT * from NEWS WHERE title = '.{newsTitle}.' = ORDER BY date_published DESC"); $Captions = mysql_fetch_assoc($GrabCaptions); echo $Captions['caption']; very brief code you will need to expand on it and probably work things around to get it to work, this is just the general concept/idea Nextly: $getRanks = mysql_query("SELECT * FROM users WHERE `rank` ='7' ORDER BY id DESC"); while ($Ranks = mysql_fetch_assoc($getRanks)) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Azure emulator + RevCms Need help / Skype
Top