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

Multiple Do / While Statements?
I'm still very new to PHP, and running in to a problem when trying to execute a do/while loop inside

Help with Hyperlink
Hi,

What I am trying to do may be simple, I just can't get it to work. Ok...

I am usin

str_replace help
Hey there,

I'm a PHP newb, I'm having troubles with the str_replace function. I want to clean

login and redirect
hello! can someone help me.. can you give me an idea.. I want to make a login page and redirects it

Need Help with a query
Hello,
For some reason I am just not getting the right answer when I do this query and not quite

Date Question
I'm using the TIMESTAMP() function within mysql to set the date/time for certain events. However, ho

IF STATEMENT HELP
Hi
i have created a calendar from a table:

Code: Calendar: October 2009
<table w

Weekly Calendar
Hi, I am looking at creating a weekly calendar. The calendar will read from Monday - Sunday. Does an

Taxonomy? Classification? Categorisation?
Not sure if there is a way around this classification problem
I have a supplier who produces

checkbox update
I am having a brain fart right now and i cant remember how to do this. if anyone could help that 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