Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MYBB News Integration For Website?
#11
I need to arder by edit, if you need order by date, change ORDER BY b.edittime with bdate
Reply
#12
cheers for that thanks.

Haven't played with mysql much though I do know some very limited things.

Need to learn it a bit more.
Reply
#13
At this one:
$curper=substr($mpr['displaystyle'],0,-1);

The function substr(0,-1) in that case, removes mast symbol from the DB result, in my case this is %.

If you want remove function and leave it only:

$curper=$mpr['displaystyle'];
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)