Click to See Complete Forum and Search --> : Stop loading html
Tempestknight
Apr 8th, 2006, 02:06 PM
I want to after im done executing all the php. Not load anything after that. How would i do this?
Thanks for your help.
visualAd
Apr 8th, 2006, 02:21 PM
Don't use echo or produce any output.
Tempestknight
Apr 8th, 2006, 02:26 PM
I can't because the way i have my register form coded is that, when you click register, it goes to code on the same file. So it still displays the register form once i click register.
visualAd
Apr 8th, 2006, 03:34 PM
Once you have registered the user, use the exit command:
<?php
if ($_POST['username']) {
/* process data */
exit;
}
?>
<html>
...
<form>
....
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.