Scroll to top

How to redirect in php after resubmittion with button?

redirect in php

<html>
<body>
<a href=”<?php echo site_url(); ?>/test/”><button>click me</button></a>

</body>
</html>

or

echo ‘<script LANGUAGE=”JavaScript”>window.location.href=”‘.site_url().’/customer-list”;</script>’;

Leave a Reply

Your email address will not be published.