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
102 Like 7 Dislike
Previous forums Next forums
Other forums

Mysql error message
help me find out what this error message means:

"Duplicate entry '0' for key 'PRIMARY'&q

'grab_files', multiple extension?
hey guys,

can anyone suggest a way to make to following line of code look for files with more

IS Retail & Manufacturing
Hi

Can IS Retail and Manufacturing activities be done in same instance ie. in same client

date("now") prints out wrong date ?
Hi Guys
Anyone know why and how I can fix it ?

undefined offset help
Hi All,

I kept getting undefined offset PHP notice for a simple for loop. For eg
$va = arr

Putting double spaces instead of single spaces
Im looking at trying to replace all single spacing between fields with double spacing

At pres

Displaying an image using echo command
I had done a query on my database, one of the fields being an image reference to a directory where a

help finding hacking loopholes
i was attacked by a redirect php injection

my pc is clean of viruses

so i figure that

ereg_replace()
Basically what i need to do is

$title = "This Suck's"

$striped = ereg_repl

How a counter of users ? such as ---> (231 Viewing)
I want to count how many users are actually viewing the page, How is that possible?
Thank you guy

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