I need to display a form through PHP, but I don't want to use the "echo" function or the "print" method. This is a user registration form. But I am having trouble using the two mentioned methods. My code:
<?Php
if(!isset($_SESSION['userid'])){
<form>
//My form here...
</form>
exit;
}else{
<form>
//My other form here...
</form>
?>