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

Procedural to OOP
ohn Kleijn said that to avoid writing "crappy code", we should learn OOP and common OO pri

having a small php error tha deals with the 'foreach'
Last night i was working on a script for a cart and it seemed to working good, until this morning. F

Optimize Code
Just started getting into the use of cookies. The following code will redirect users to a set URL s

dropdown menu
Hello everbody,

I am php newbie.
I need to develop a program that once click the drop do

Google Map
I have done Google Map Integration for one my project. But for that we need the "latitude and l

timed header image rotation
I have a joomla site and I was trying to setup a rotating image based on timing NOT just refreshing

Onclick problem in Firefox
Hi,
I am using a . It doesn't seem to

first few characters only
hi, does anyone know how to use PHP to take the first few words of a text and limit them? i have see

present value of sequence?
Hi

Please help me to find out the present value of sequence?

Thanks

losing session vars when arriving from an email link
Hi,

I've got a confirmation script made that sends an email with a link for a user to confirm

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