Alternate messaging


Posted on 16th Feb 2014 07:03 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

paginate search result
Hi, I have a paginations script to display data from my database but i would like to paginate someon

This is driving me nuts!
This insert query looks to be alright, however I get this error:

QuoteYou have an error in yo

Run function every 5 mins ??
I have a function PostMessage()

How can I run it every 5 mins ??

quotes changing
hi all

in my content

opening quotes " changes to “

close qu

Question handling xml data
Hello,

I have sucessfull followed this tutorial
http://www.phpfreaks.com/tutorial/handlin

Preserving user-entered linebreaks
Hi, I'm building a web 2.0 thingy from scratch and I wanna display text which users input. It's all

Security Exception on pages using AJAX
I am getting the exception: attempted to perform an operation not allowed by the security policy on

Lining up columns nicely.
Hello everyone, I'm having problems with making columns line up properly. Here is my code:

Extracting URL pointer within XML tag
Hi.

I'm trying to extract text between two quotation marks in XML. For example, I want to ex

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

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