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

Online Event Ticket Sales
Has anyone wrote a script for online tickets sales?

I have been googling and found lots of th

radio button reamains checked
Hello i'm trying to keep the state off my radio buttons so it shows which ones where clicked after t

Header is not working in IE
Hi ! header function is not working in IE but it works in FF, Safari, Chrome. any help please. :

Dynamic links in an include file
I am working on a small piece of code that counts records from a database and displays the result to

unoconv doc convert to pdf code prob
PHP/5.3.1

Hi. I am trying to use this code to convert docs to .pdf utilizing unoconv. Howe

How to show next and prev records
Hi all,

Sorry if this is simple, i'm very new to php, well, any programming language actually

C - Reading a file into a byte array
Hi,

I'm trying to read a file into a byte array in C. I have to use C as this is for a loadru

session_destroy();
new to php
I have a simple login and am trying to write a logout.
I set a $_SESSION var to 1 i

question about n
I was looking at some of the things you could do with php and one of the things I have tried is n.<

Search with relational database
Hey,

I have quite a complicated (for me anyway ) relational database for an apartments syste

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