Is there some stype of stop statement in php so that once you reach a certain piece of code and that is executed you can stop the code after that. like possibly a stop function or something, basically something that totally halts the code. thx😃
yup use
return;
<? if ($var == "g") { echo "g is it"; return; } echo "<a href=".$PHP_SELF."?var=g>is g selected?</a>"; ?>
[man]exit[/man]. It's amazing what a couple of minutes with the manual can turn up.
www.php.net/die www.php.net/exit www.php.net/return
Read the manual please...
:o thank u guys..sorry will check manual first next time :rolleyes: