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

Empty text file when there is over XXXX lines of text.

define("RANDOM_FILE","/public_html/random.txt");
$randomEntry = "

How to display random record from table?
I have the following code:

Code: <?php
$display_block .= "<input type=

cyrillic string conversion question
Hello,

First time here...

I would like to know if there is a way to convert a

Prevention Help
How can I use PHP or any other language (feel free to move this thread) to prevent users doing scree

Firewall / visited websites logger
Hi. I have a firewall implementation and I want to log all the websites visited on the machine. S

How do I give a developer access to a specific directory and nothing else?
I want to give a develop access to a specific directory and nothing else

I can give them an F

Extracting Long text from message class with parameters
Hi,

I would like to extract the long text from a message class. However, the long text ha

Timer control causing error
I recently decided to add a timer control to an existing page that uses AJAX on my site. As soon as

highlighting search terms
well, I started this in the regular PHP section, but it no longer fits there. Suffice it to say, I'm

Load file in PHP
I have 2 files. The first is a PHP generated XML file that's dependent by 2 inputs. The second is a

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