bob_the _builder Posted March 6, 2007 Share Posted March 6, 2007 Hi, Is there away to do the following which has errors: <input name="email" type="text" value="'.$email2.'" size="30" /> '. if (empty($email)) { '*' } .' rather than having to break out of the echo through out my table like so: echo '<input name="email" type="text" value="'.$email.'" size="30" />'; if (empty($_POST['email2'])) { echo '*'; } Thanks Quote Link to comment Share on other sites More sharing options...
fert Posted March 6, 2007 Share Posted March 6, 2007 echo "<input name=\"email\" type=\"text\" value="'.$email2.'" size=\"30\" />"; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.