Jump to content

[SOLVED] Small promblem... I think. Don't know the title for this!


Pavlos1316

Recommended Posts

Ok here we go again...

 

<input name="Full_Name" type="text" id="Full_Name" size="50" maxlength="19" <?php if (isset($_POST['Full_Name'])) { echo 'value="'.$_POST['Full_Name'].'"'; } ?>/>

 

This is working fine (leaving enter data in place if submition fails)

BUT in my register page i see the /> after my textfield.

 

ex. Name:

textfield
/>

 

Any ideas how or what to fix?

Link to comment
Share on other sites

<pre><span class="style71">
Full Name:</span>	<input name="Full_Name" type="text" id="Full_Name" size="50" maxlength="19" <?php if (isset($_POST['Full_Name'])) { echo 'value="'.$_POST['Full_Name'].'"'; } ?> /><span class="style71">	Birthday:  </span><input name="Birthday" type="text" id="Birthday" size="12" maxlength="10" <?php if(isset($_POST['Birthday'])) { echo 'value="'.$_POST['Birthday'].'"'; } ?>/>	<span class="style75">          accounts</span>

Link to comment
Share on other sites

Where do you see this...  />    ?

 

is it displayed on a page? or is this data going into an e-mail? I noticed the same thing whenever testing a script out with my e-mail address. it would display that /> and I know my code is right...it's just Yahoo mail being silly...

Link to comment
Share on other sites

Here is the full code.. I see it.. in my page ex I open www.mysite.com and I see: Name: [mytextfieldhere] />

 

 

<body>

<table width="914" border="0" align="center">
 <tr>
   <th scope="col"><form action="register.php" method="post" enctype="application/x-www-form-urlencoded" name="register" id="register">
     <div align="center">
       <div align="left">
         <pre><span class="style71">
Full Name:</span>	<input name="Full_Name" type="text" id="Full_Name" size="50" maxlength="19" <?php if (isset($_POST['Full_Name'])) { echo 'value="'.$_POST['Full_Name'].'"'; } ?> /><span class="style71">	Birthday:  </span><input name="Birthday" type="text" id="Birthday" size="12" maxlength="10" <?php if(isset($_POST['Birthday'])) { echo 'value="'.$_POST['Birthday'].'"'; } ?>/>	<span class="style75">          accounts</span>
								<span class="style69">    (dd-mm-yyyy)</span>

<span class="style71">Mail:</span>		<input name="Mail" type="text" size="89" maxlength="77" id="Mail" <?php if (isset($_POST['Mail'])) { echo 'value="'.$_POST['Mail'].'"'; } ?>/>	<span class="style75">with false statements</span>
		<span class="style69"> (Street-Street No-Territory-Postal Code-Town-Country)</span>

<span class="style71">E-mail:</span>		<input name="E_Mail" type="text" size="30" maxlength="30" id="E_Mail" <?php if (isset($_POST['E_Mail'])) { echo 'value="'.$_POST['E_Mail'].'"'; } ?>/>	<span class="style71">Phone No:</span>	<input name="Phone_No" type="text" id="Phone_No" size="25" maxlength="19" <?php if (isset($_POST['Phone_No'])) { echo 'value="'.$_POST['Phone_No'].'"'; } ?>/>	<span class="style75">      will be deleted</span></pre>
         <pre>

<span class="style71">Username:	</span><input name="Username" type="text" size="30" maxlength="10" id="Username" <?php if (isset($_POST['Username'])) { echo 'value="'.$_POST['Username'].'"'; } ?>/>	<span class="style71">Password:</span>	<input name="Password" type="password" size="25" maxlength="10" id="Password" <?php if (isset($_POST['Password'])) { echo 'value="'.$_POST['Password'].'"'; } ?>/>	<span class="style75">      automatically!!!</span></pre>
       </div>
     </div>
       <div align="left">
       <pre><span class="style75">   

By submitting this form you agree to accept all <a href="terms and conditions.html" target="_new">Terms and Conditions</a></span> 				         	       <input name="Submit" type="submit" id="button" onclick="this.form.post" value="Submit" /></pre>
     </div>
   </form></th>
 </tr>
 </table>
</body>
</html

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.