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
sql query error
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="LOOKATYOU" data-source="post: 260683" data-attributes="member: 2887"><p>Hello,</p><p>Okay i never done this kind of codeing before im really new to it</p><p>Today i was like really bored, you know when you get that bored you would do just about anything?</p><p>Well yeah, that was me, today i decided to try code my own script for ubercms some of them are working, but one is being a little pain in da .. yeh anyway</p><p>let me tell you what i want it to do,</p><p>i wanted a script so members can see the newest members that registered to the sit, and be able to see the date</p><p>what sql code was i useing ?</p><p>this </p><p><span style="font-size: 12px">$getTopStats = mysql_query("SELECT * FROM users ORDER BY account_created DESC LIMIT 1");</span></p><p>while($topSpats = mysql_fetch_array($getTopStats)){</p><p>echo '<img src="<a href="http://hotel.obbah.co.vu/includes/imager.php?figure=" target="_blank">http://hotel.obbah.co.vu/includes/imager.php?figure=</a>' . $topSpats['look'] . '&size=s" align="left"><a href="#">'.$topSpats['username'].'</a><br />account created: '.$topSpats['account_created'].'<br /><br /><br /><br />';</p><p>}</p><p>but when i go to my page i get </p><p><a href="http://hotel.obbah.co.vu/credleader.php#" target="_blank">Flubby</a></p><p>Credits: 15075</p><p></p><p>i want it to be <a href="http://hotel.obbah.co.vu/credleader.php#" target="_blank">Flubby</a></p><p>registered on: -date-</p><p>Any idea how i can do this.</p></blockquote><p></p>
[QUOTE="LOOKATYOU, post: 260683, member: 2887"] Hello, Okay i never done this kind of codeing before im really new to it Today i was like really bored, you know when you get that bored you would do just about anything? Well yeah, that was me, today i decided to try code my own script for ubercms some of them are working, but one is being a little pain in da .. yeh anyway let me tell you what i want it to do, i wanted a script so members can see the newest members that registered to the sit, and be able to see the date what sql code was i useing ? this [SIZE=3]$getTopStats = mysql_query("SELECT * FROM users ORDER BY account_created DESC LIMIT 1");[/SIZE] while($topSpats = mysql_fetch_array($getTopStats)){ echo '<img src="[url]http://hotel.obbah.co.vu/includes/imager.php?figure=[/url]' . $topSpats['look'] . '&size=s" align="left"><a href="#">'.$topSpats['username'].'</a><br />account created: '.$topSpats['account_created'].'<br /><br /><br /><br />'; } but when i go to my page i get [URL='http://hotel.obbah.co.vu/credleader.php#']Flubby[/URL] Credits: 15075 i want it to be [URL='http://hotel.obbah.co.vu/credleader.php#']Flubby[/URL] registered on: -date- Any idea how i can do this. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
sql query error
Top