I have page PIANI_LINEE that is created on a VIEW.
In the results_grid form I placed 3 custom buttons in each row since they act on the single record.
Furthermore I'd like having 3 custom buttons on the top: LINEA 2 , LINEA 3 , LINEA 4
I would use header(Location...... function so when I click on button LINEA 2, I will be redirected on the page PIANI_LINEE but showing only data where the filed ID_LINEA = 2
At the moment I am not able to find documentation about the syntax of the url I should use.
Looking at the manual, in the custom buttons explaination I see something like: header('Location:'.$dadabik_main_file.'?tablename='.urlencode($table_name).'&function=edit&where_field='.urlencode($where_field).'&where_value='.urlencode($where_value)); but since I am not that expert, I am asking help about forming the proper url to be redirected on the proper filtered page.
The not filtered page is reached at the url: ipaddress/mydir/index.php?function=search&tablename=PIANO_LINEE
I don't know what syntax I should use for adding WHERE ID_LINEA=2 to the url
You are running the latest release of DaDaBIK
In case you want to upgrade to a more powerful edition (from Pro to Enterprise/Platinum, from Enterprise to Platinum) please contact us.
mysql version: 5.5.5-10.3.39-MariaDB-0+deb10u2
Web server: Apache/2.4.38 (Raspbian)
Client: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
URL installation: http://myip/app_gest_dir/
In the results_grid form I placed 3 custom buttons in each row since they act on the single record.
Furthermore I'd like having 3 custom buttons on the top: LINEA 2 , LINEA 3 , LINEA 4
I would use header(Location...... function so when I click on button LINEA 2, I will be redirected on the page PIANI_LINEE but showing only data where the filed ID_LINEA = 2
At the moment I am not able to find documentation about the syntax of the url I should use.
Looking at the manual, in the custom buttons explaination I see something like: header('Location:'.$dadabik_main_file.'?tablename='.urlencode($table_name).'&function=edit&where_field='.urlencode($where_field).'&where_value='.urlencode($where_value)); but since I am not that expert, I am asking help about forming the proper url to be redirected on the proper filtered page.
The not filtered page is reached at the url: ipaddress/mydir/index.php?function=search&tablename=PIANO_LINEE
I don't know what syntax I should use for adding WHERE ID_LINEA=2 to the url
Your current DaDaBIK version
You are using DaDaBIK version 11.12-Elba enterprise, installed on 25-03-2024 (installation code: ), the latest version of DaDaBIK is 11.12-Elba released on 30-11-2023You are running the latest release of DaDaBIK
In case you want to upgrade to a more powerful edition (from Pro to Enterprise/Platinum, from Enterprise to Platinum) please contact us.
System info
PHP Version: 7.3.31-1~deb10u5mysql version: 5.5.5-10.3.39-MariaDB-0+deb10u2
Web server: Apache/2.4.38 (Raspbian)
Client: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
URL installation: http://myip/app_gest_dir/