Below is the code I’m using in a Control to make a button with a link to an application but when you click on the button, nothing happens.
Code:
$makeReservationLink = “.” . sc_make_link(form_external_customer_reservation.php);
sc_make_link returns:
./scriptcase/app/MarinaManager/form_external_customer_reservation/?script_case_init=2348&script_case_session=7luc18shgjc5tniqbg4vh69b13&nmgp_url_saida=/scriptcase/app/MarinaManager/quick_search/
Code to format the button:
$makeReservationButton = ‘<td> <INPUT TYPE=“button” value=“Make a Reservation” onclick="’ . $makeReservationLink . ‘"> </td>’;
echo $makeReservationButton;
Any reason when you click the button it won’t take me to the application? I can’t see any error.