The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
what ya think to the select below... the highscore part shows
value.000 $randomgame = $db->query_first("SELECT gameid,title,description,stdimage,highscore FROM ".TABLE_PREFIX."arcade_games ORDER BY RAND() LIMIT 1"); how to remove those 3 little naughts! ![]() I've looking into various things but i cannot suss it, please help -b6 |
|
#2
|
||||
|
||||
|
you've got a number of choices, you can truncate the value using substr() or you can use ceil() or floor() to round up or down.
|
|
#3
|
||||
|
||||
|
thankyou
-b6 |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|