server-side (1.91) add extra where clause in query

server-side (1.91) add extra where clause in query

pakypaky Posts: 106Questions: 0Answers: 0
edited April 2012 in General
How can do it ? Thanks

Replies

  • koosvdkolkkoosvdkolk Posts: 169Questions: 0Answers: 0
    What language? PHP, ASP.NET, JSP?
  • pakypaky Posts: 106Questions: 0Answers: 0
    ops sorry, php.
  • koosvdkolkkoosvdkolk Posts: 169Questions: 0Answers: 0
    http://datatables.net/development/server-side/php_mysql

    Add SQL to $sWhere on line >=114?
  • pakypaky Posts: 106Questions: 0Answers: 0
    I wrote this ;) thanks
    [code]
    /**
    * EXTRA WHERE
    *
    */
    $sWhere .= $sWhere == "" ?" WHERE my_condition AND my_condition2":" AND my_condition AND my_condition2";[/code]
  • koosvdkolkkoosvdkolk Posts: 169Questions: 0Answers: 0
    edited April 2012
    -double post-
This discussion has been closed.