如何在LogicApp中对对象使用评估属性?

时间:2020-08-15 13:32:54

标签: azure-logic-apps

我需要以下表达式来使用名为$sql_details = array( 'user' => 'root', 'pass' => '', 'db' => 'test', 'host' => 'localhost' ); if($_REQUEST['action']=='admin'){ $table = 'tbl_admin'; $primaryKey = 'admin_id'; $columns = array( array( 'db' => 'firstname', 'dt' => 0 ), array( 'db' => 'lastname', 'dt' => 1 ), array( 'db' => 'email', 'dt' => 2 ), array( 'db' => 'date_of_created','dt' => 3, 'formatter' => function( $d, $row ) { return date( 'd-m-Y', strtotime($d)); } ) ); require 'datatables/ssp.class.php'; //$where = "is_active =1 order by DESC date_of_created"; //tried this //$where = "is_active ='1'"; //tried this $where = "is_active =1"; // tried this echo json_encode( SSP::simple( $_GET, $sql_details, $table, $primaryKey, $columns, null, $where ) ); } 的变量的值,而不是StateTagName的硬编码值。我该怎么办?

CurrentEastUSHDInsightsObject

1 个答案:

答案 0 :(得分:0)

正确的语法不是使用点符号,而是使用方括号 ar[j] = ar[j].replace(String.valueOf(ar[i].charAt(k)), "");