(Resolved) Returning from PHP

Discussing Html . Code , Software , other

Moderators: macek, egami, gesf

Post Reply
User avatar
gesf
Moderator
Moderator
Posts: 1717
Joined: Sun Dec 29, 2002 5:03 am
Location: Portugal / Sweden
Contact:

Post by gesf » Fri Feb 02, 2007 5:13 am

I'm not sure if i get the point but, for both question, you can have your form and process script in same file so you'll have the same code from the form file after the submittion.
You can also, after processing, in your registration.php file, add this next code so it will send you to the page you want:

Code: Select all

<?php

header('Location: /url/to/your/page.php');

?>
You can also make this call in the background using xmlhttprequest and nothing will change/move in the form file.
Of course, this all really depends on what you're trying to do.

User avatar
gesf
Moderator
Moderator
Posts: 1717
Joined: Sun Dec 29, 2002 5:03 am
Location: Portugal / Sweden
Contact:

Post by gesf » Wed Feb 07, 2007 11:24 am

Any time :)

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests