Hi I want to use custom variable from SQL query not dependent from resualt of select_command
For example:
I want to setup custom path to upload file dependent from result of my SQL query.
$main = new jqgrid();
………………………
$tmp_path = $main -> execute_query($sql);
$array=$tmp_path->getRows();
$col = array();
$col["title"] = "file path";
$col["edittype"] = "file";
……
$col["upload_dir"] = $array['path']
But it's not work
Thankyou
1 Answers
Your Answer