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.

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

Help with usergroups? prolly really quick
So were coding our own forums for a game system we made an we have the users level setup but now I n

Operating System
How in PHP or other language can I detect Operating system, ie Windows XP Home, Windows 7 Ultimate,

Modal Popup Help
Hi guys, I have a modal popup with an iframe. How can i send data from a label or textbox to the ifr

mail()
Hi all. I have a problem with emails. I am trying to set up a mail system where customers can subscr

is_dir() problem
Hello,

I'm buidling a php scripts that dynamically get's subfolders from a specific folder.

Lining up columns nicely.
Hello everyone, I'm having problems with making columns line up properly. Here is my code:

DBCA Templates
Hi all,

I'm working on creating a template for DBCA, but can't find any documentation on the

grouping within a foreach?
hello all,

I currently have a list of products spit out from my db via a foreach loop. Right

Which practice of iteration through containers is preferred
In the "real world" what kind of loop do most people use to iterate through a container like a vecto

Creating web pages by php
Hello again,
I was just wondering us there a way to use a php script to create a new web page. I

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