Serverside processing and joins
Serverside processing and joins

I'm using the serverside processing script (https://datatables.net/development/server-side/php_mysql) to handle a big dataset and it's working fine.
Now the client wants some extra data displayed that's in different tables of the database. I'd need to use a join to achieve this.
i've tried some things, but I can't seem to figure out how I'd incorperate the constrains for this join (or the join itself for that matter) into the serverside script.
Any help would be appriciated greatly!
Answers
No suggestions? I'm pretty stuck :(
ssp.class.php on line 243 change
"SELECT SQL_CALC_FOUND_ROWS
".implode("
,", self::pluck($columns, 'db'))."
to
then in your server_processing.php
That's how I've just manged to link 2 tables. Let me know if you have any problems.
Thanks, I'll give it a try!
Did that work for you?
Not had time to return to this project yet, hope to get around it this week.
I'll tell if it worked of not!
Hello joejordanbrown,
well i have tried your example but its not working for me. when i give column id to table1.id its says error in sql.
please help me out
Thanks