Server-side processing "WHERE param = $my_param"

Server-side processing "WHERE param = $my_param"

barseonbarseon Posts: 3Questions: 1Answers: 0

Hello Server-side processing work fine. If I want to add the condition in Server-side script "WHERE param = $my_param".
For example i have user table (5000 rows) |id| - |name| - |age| and i wanna show only rows with name = Bob. "WHERE name = Bob"
How i can do it? I must add this condition in $columns?
ty

Answers

  • tangerinetangerine Posts: 3,350Questions: 37Answers: 394

    The forum has many posts about this. Try a search.

  • barseonbarseon Posts: 3Questions: 1Answers: 0

    sry have any problem with English. Can you tell me query for search. ty

  • barseonbarseon Posts: 3Questions: 1Answers: 0
    edited January 2015

    I decided it. In server side use SSP::complex() instead of SSP::simple()
    SSP::complex($_GET, $sql_details, $table, $primaryKey,$columns,null,"param='MyParam'"));

This discussion has been closed.