Posted by Shek on May 21, 2008 under PHP |
In some cases, you might like to redirect the user to another page from a certain page, example like when the website is under maintenance then you might like to redirect the user once they reach the home page to a maintenance notification page. To do so, there is a function in PHP could do the job. It is the header() function and the way to for redirecting a page is like this:
Read more of this article »
Posted by Shek on May 6, 2008 under HTML |
Editor’s note: In my past posts of HTML form, the attribute “action” of the HTML form is to indicate what page will load and the data of the form will be submitted. To use the same concept, we could also use the submit button to play a role in the directing to another page. All we have to do is to create a form with just a submit button in it. Here is an example:
Read more of this article »