Shuffle between users ??


Posted on 16th Feb 2014 07:03 pm by admin

I have multiple $users in table. I need to send them $message.

I need to send the next message available in the database to the next user who got least amount of messages.

Did you know?Explore Trending and Topic pages for more stories like this.
Or how could I place those users in a session and send the message to the first user in session..

Any help ??
No comments posted yet

Your Answer:

Login to answer
138 Like 51 Dislike
Previous forums Next forums
Other forums

reading xml faster than DB call?
I am trying to optimize a high traffic website, and I enabled a feature where there are three photos

Random date selection
i want to select random date with time(hour+minutes+sec) where date is specified(10/22/2009) and tim

Locking mysql tables with php
Hi

BACKGROUND:
I have multiple instances of the same php script running in a WAMP environ

error reporting
hey everyone

I have a production server in which I want error reporting but only on some page

TimeStamp Column Problem...
I'm mad at my self and thinking I'm a little retarded. It just be some one mistake I'm missing here.

PHP hyperlinks generator
Hi

I need some help to get this done using php:


1 - I have few hyperlinks say 500

TimeZoneOffset
Hello,

Please i need your help. I have a system that users can use to punch in and out. This

include function being weird?
I have a very simple system to grab an IP outputted by a PHP file.. (for a project I have) but it ou

Security Exception on pages using AJAX
I am getting the exception: attempted to perform an operation not allowed by the security policy on

Object Interfaces
EDIT: Never mind, I just updated to php 5.

Hey all,

I'm currently experimenting with p

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash