Alternate messaging


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

I have 4 strings in MySQL db1

$string1 : Hello
$string2 : Hi
Did you know?Explore Trending and Topic pages for more stories like this.
$string3 : Great
$string4 : Thanks

And I have 3 accounts MySQL db2

$User1 : $Pw1
$User2 : $Pw2
$User3 : $Pw3

expected result
---------------
Hello goes to user1
Hi goes to user2
Great goes to user3 // all the users have been sent a message, so iterator should go to user 1 again
Thanks goes to user1

Any code snippet please....THANKS
No comments posted yet

Your Answer:

Login to answer
187 Like 26 Dislike
Previous forums Next forums
Other forums

New to Arrays
Hi I am new to PHP (a week and a half now) and I am just beginning to read about arrays. I understan

Redirect not working after making a POST/GET
Hi Everyone,

I am a novice in PHP. Here I have 2 pages, one page with a textbox and button an

Pls help with PHP
Pls can anyone direct me on how to create a user account for a customer. For example i want know if

Confusing Functions
So, I've been reading up on Functions and I like them! However, I need some help using variables in

bit of help needed
Im about to sort out my registration page for my website by customising a "registration" s

Developing Ajax-enabled ASP.Net applications for the iPhone
I would like to develop Ajax web applications using Visual Studio that are optimized for the iPhone.

Select Lists into MYSQL
Hello All, I am new to PHP @ 1 week. So borrowing code anywhere I can. I am making progress, but h

Help with simple query
Hi,

I'm trying to do a Query with a Union where I want to print the number of rows $tc conta

parse error
On my local machine I keep getting parse error for my footer. When I put it online, it doesn't show

Update data to upper case in parent/child tables
Hi Gurus!

In production we have a product table and which is being reference by many tabl

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