如何解决如何在LogicApp中对对象使用评估属性?
我需要以下表达式来使用名为$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
解决方法
正确的语法不是使用点符号,而是使用方括号
ar[j] = ar[j].replace(String.valueOf(ar[i].charAt(k)),"");
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。