PHP FIX IssuesCategory: QuestionsDisplay alert message and redirect after click on accept
buck96 asked 50 years ago

Well, I have a page with links to reports. Whenever somebody clicks on one report, they can download the excel file. However, sometimes there are no fields to make a report; in that case, I want to display an alert message and after they click on “accept”, they get redirected to the main panel. When they click on the report, they go to a controller that uses a switch to get the data.

1 Answers
Laxmi Kant answered 11 months ago
echo "<script>
alert('There are no fields to generate a report');

Author - comments - 0

Copyright © 2019 - Designed by HTML Design