Dyllon |
|
||
---|---|---|---|
I'm looking to create something similar to Cotonti.com's private message feature. I've been browsing around through the source code, but I don't know how to achieve it. From what I gather, this is the main part of it on the javascript end:
I just can't seem to figure out how to PHP side of it goes. Any insight? We are what we repeatedly do. Excellence then, is not an act, but a habit.
|
Trustmaster |
|
||
---|---|---|---|
It's as simple as this:
May the Source be with you!
|
Sergey |
|
||
---|---|---|---|
Function json_encode does not work correctly. It is with a large array of data gives an error when processing objects and arrays. This function corrects the errors. In the form, I keep the contents of pages, it increases the rate of conversion of pages in a friendly layout:
www.cotonti.mobi
|
Trustmaster |
|
---|---|
In the above example fetchAll() method always returns an array of arrays, not objects. May the Source be with you!
|