how do you add a html form in php? I have to check a condition from isset i.e if session has been set only then should the form be displayed. ECHO statement is not working because of ""
<pre>
<form action="index.php" method="post">
<br />
First Name: Last Name:<br/>
<input type="text" name="firstname" placeholder ="First Name"/>
<input type="text" name="lastname" placeholder ="Last Name"/><br />
Email-id:<br />
<input type="text" name="email-id" placeholder ="Your Email-id"/><br />
Password:<br />
<input type="password" name="password" placeholder ="Your Password"/>
<br />
Re-enter Password:<br />
<input type="password" name="password1" placeholder ="Re-enter Password"/>
<br /></form><pre>
<?php if( isset( $_SESSION['someValue'] ) ): ?>
<form action="index.php" method="post">
<p>Whatevs...</p>
</form>
<?php endif; ?>