Jump to content

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/281588-php-coding-help/
Share on other sites

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...

Link to comment
https://forums.phpfreaks.com/topic/281588-php-coding-help/#findComment-1446938
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.