Alternate messaging

Posted on 16th Feb 2014 01:33 pm by admin

I have 4 strings in MySQL db1

$string1 : Hello
$string2 : Hi
$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

Help on code output

Code: [Select] echo "<phone>".$line["phone"].&qu

Curl & sessions PLS HELP

I have a problem with curl and sessions and i will try to explain the best i could.

Syntax Help
I'm trying to make a form that edits a php file which contains config settings. I'm using strings t

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

bind error during socket programming
i am kinda new to socket programming. wrote the below code for a server. but getting the bind error

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Google+ Indyaspeak @ Pinterest RSS