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

iMatch stored value with the current value in a loop
Hello,

I have a MySQL db were I store articles in.

I have a form to fill these article

PHP - MySQL Fail
My PHP code will only execute the first part of my code...

Code: <?php

sessio

Update Database
Hi All,


I have a problem with this:

Code: [Select]<?php
session_start();

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

whats wrong with my code please help!!!
this is the error


Warning: mysql_close(): supplied argument is not a valid MySQL-Link res

Dealing with code in db query
I am dealing with C code and I need to make sure it is encoded some how to ensure its integrity and

Why use OOP?
Can someone explain to me why I should use OOP instead of procedure based code.

Im building a

how to timeout $doc = new DOMDocument()->load($url)
I am currently using this $doc->load($url) to fetch an rss feed.
If a feed takes long than

SAP FICO learning materials
Hi all,
I am new to this world of SAP FICO. I have taken training on SAP FICO, but was wonderin

Looking for help reading a .txt or .ini file and outputting the info.
I have a file called Info.ini and It has the following info:
Code: [General]
Online=0
I wou

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