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
[James aka CrazyRP] Need a site with these features..[James aka CrazyRP]
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="Jonty" data-source="post: 22638" data-attributes="member: 870"><p>[PHP]<?php</p><p>$con = mysql_connect("localhost","user","password");</p><p>$db = mysql_select_db("database");</p><p>// make sure to include this file on all pages that access the db[/PHP]</p><p></p><p>[PHP]</p><p>$simple = mysql_query("SELECT * FROM news ORDER BY id DESC");</p><p>while($row = mysql_fetch_assoc($simple))</p><p>{</p><p> echo $row['title'] . "<font size='1'><i>- posted by " . $row['author'] . ".</i></font size>";</p><p> echo "<hr><br> " . $row['content'] . "";</p><p>}</p><p>// make the db yourself, clueless</p><p>[/PHP]</p></blockquote><p></p>
[QUOTE="Jonty, post: 22638, member: 870"] [PHP]<?php $con = mysql_connect("localhost","user","password"); $db = mysql_select_db("database"); // make sure to include this file on all pages that access the db[/PHP] [PHP] $simple = mysql_query("SELECT * FROM news ORDER BY id DESC"); while($row = mysql_fetch_assoc($simple)) { echo $row['title'] . "<font size='1'><i>- posted by " . $row['author'] . ".</i></font size>"; echo "<hr><br> " . $row['content'] . ""; } // make the db yourself, clueless [/PHP] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
[James aka CrazyRP] Need a site with these features..[James aka CrazyRP]
Top