Getting php to exit, run another php or continue

Links for php scripts

Moderators: macek, egami, gesf

Post Reply
User avatar
Redcircle
Moderator
Moderator
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA
Contact:

Post by Redcircle » Wed Feb 05, 2003 4:25 pm

Code: Select all

<form> 
<tr>
<td colspan=4>Are you over 21?
<input type="Radio" name="over21" value="1">Yes <input type="Radio" name="over21" value="0">No

<?php
if(!$over21)
include("another.php");
else
if($over21)
include("this.php");
 
?>
</td>
</tr>

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests