rajesh07590 Posted August 27, 2013 Share Posted August 27, 2013 Hi, I am new to php code. i have one search form in welcome.php. results will be displayed in anotherpage search.php. after displaying the reusult when i reload the page it is submitting the form again and then i am getting php syntax errors. how to stop this one. and in the same search page some check boxes are there when i click on the check box. based on the condition it will display the results on the same search page search.php and replacing the old search results. how to do this one without reloading the page. If page is reloading the form in welcome.php is submitting and getting errors. please help me over come this. Quote Link to comment https://forums.phpfreaks.com/topic/281588-php-coding-help/ Share on other sites More sharing options...
Muddy_Funster Posted August 27, 2013 Share Posted August 27, 2013 Lines of code are the tools we use - without them we can neither build anew nor repare existing works. You need to post your code. You also need to post the errors it is creating. You can't not load a page using PHP, if you want to do that you need to use AJAX. But what you can do is change the way a page loads depending on a number of conditions... Quote Link to comment https://forums.phpfreaks.com/topic/281588-php-coding-help/#findComment-1446938 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.