Posted on Saturday 3rd January 2009 at 10:44 PM | |
zerocool Newbie |
Hi guyz, i need a PM inbox messages limiter. How i can do it? Thanx to all |
Posted on Monday 5th January 2009 at 05:50 PM | |
DanielXP Senior Member |
Add this to the sql where it displays the pms. LIMIT 10 That will limit it to 10 PMs |
Posted on Monday 5th January 2009 at 07:54 PM | |
zerocool Newbie |
mmm I dont want a list limiter, i want a max number of messages for user limiter, like 10 or 20 |
Posted on Tuesday 6th January 2009 at 05:33 PM | |
jambomb Junior Member |
yeh tthat would be great |
Posted on Saturday 31st January 200 at 08:03 AM | |
zerocool Newbie |
no one can help me with the inbox limiter? not a showing limiter, i need a maximum messages that a user could have on their inbox. |
Posted on Saturday 31st January 200 at 07:44 PM | |
Matt Newbie |
$limit = 10; $query = mysql_query("SELECt * FROM pms LIMIT $limit"); $percent = $number_of_messages/$limit; echo 'you have used '.$percent.' of your message limit'; also, if you have a bar and want to show it in a graph you can set the width of the image by using, style="width: $percent;" and that will set the bar at the fixed percentage. |
Posted on Sunday 1st February 2009 at 03:09 PM | |
zerocool Newbie |
ok thanx man |
Posted on Wednesday 25th February 2 at 06:57 AM | |
jambomb Junior Member |
Matt, for $number_of_messages do you mean mysql_num_rows ? is that what u mean ? |
Posted on Thursday 26th February 20 at 04:23 AM | |
Matt Newbie |
yes sir, sorry about that. |