Skip to content

Problem on check condition on laravel php

I have a problem on my laravel code. I want to check condition and show up using dd my code here. but my result here not acceptable. it should be true. What’s wrong on my code? How can I solve it? Answer I round it before comparison is ok now. Thank @El_Vanja

php – prevent back button

This is a part of my payment.php code. $f=1 when the values got stored in database correctly. Now we all know window.location.replace() replaces the current page, removing the previous one from the back button history. But the back button is working. I do not want the user to press the back button and enter t…