Jump to content

line break


synchro_irl

Recommended Posts

hey guys

i have  a table tat just goes right across teh page, like in the pic below:

 

scrennn111fm8.th.png

i want to have each textbox to appear on a  seperate line under each other,

i have tried to make this change with frontpage, but it cause my submit button to stop workin

is there any simple php line of code that will make it go to the next line!

heres teh table code:

 

<form name="adminfrm" method="post" action="" >
<table>
<tr>

<td>Name:</td><td><input type="text" name="txtName" value= '<?php echo $name; ?>' /></td>



<td>Email:</td><td><input type="text" name="txtEmail" value= '<?php echo $email; ?>' /></td>

<td>Username:</td><td><input type="text" name="txtUsername" value= '<?php echo $username; ?>' /></td>
<td>Type:</td><td><input type="text" name="txtType" value= '<?php echo $type; ?>' /></td>
<td>Location:</td><td><input type="text" name="txtLocation" value= '<?php echo $location; ?>' /></td>
<td>Availability</td><td><input type="text" name="txtAvailability" value= '<?php echo $availability; ?>' /></td>
<td>Map</td><td><input type="text" name="txtMap" value= '<?php echo $map; ?>' /></td>
<td>StarRating</td><td><input type="text" name="txtStarRating" value= '<?php echo $starRating; ?>' /></td>

<td><input type="submit" name="submit" value="Save Changes" /></td>
</tr>
</table>



</form>

Link to comment
Share on other sites

Sorry wasnt very nice of me.

 


<form name="adminfrm" method="post" action="" >
<table>
<tr>

<td>Name:</td><td><input type="text" name="txtName" value= '<?php echo $name; ?>' /></td><tr>



<td>Email:</td><td><input type="text" name="txtEmail" value= '<?php echo $email; ?>' /></td><tr>

<td>Username:</td><td><input type="text" name="txtUsername" value= '<?php echo $username; ?>' /></td><tr>
<td>Type:</td><td><input type="text" name="txtType" value= '<?php echo $type; ?>' /></td><tr>
<td>Location:</td><td><input type="text" name="txtLocation" value= '<?php echo $location; ?>' /></td><tr>
<td>Availability</td><td><input type="text" name="txtAvailability" value= '<?php echo $availability; ?>' /></td><tr>
<td>Map</td><td><input type="text" name="txtMap" value= '<?php echo $map; ?>' /></td><tr>
<td>StarRating</td><td><input type="text" name="txtStarRating" value= '<?php echo $starRating; ?>' /></td><tr>

<td><input type="submit" name="submit" value="Save Changes" /></td>
</tr>
</table>



</form>

Link to comment
Share on other sites

Just correcting the burnsides code for you.

 


<form name="adminfrm" method="post" action="" >
<table>


<tr><td>Name:</td><td><input type="text" name="txtName" value= '<?php echo $name; ?>' /></td></tr>



<tr><td>Email:</td><td><input type="text" name="txtEmail" value= '<?php echo $email; ?>' /></td></tr>

<tr><td>Username:</td><td><input type="text" name="txtUsername" value= '<?php echo $username; ?>' /></td></tr>
<tr><td>Type:</td><td><input type="text" name="txtType" value= '<?php echo $type; ?>' /></td></tr>
<tr><td>Location:</td><td><input type="text" name="txtLocation" value= '<?php echo $location; ?>' /></td></tr>
<tr><td>Availability</td><td><input type="text" name="txtAvailability" value= '<?php echo $availability; ?>' /></td></tr>
<tr><td>Map</td><td><input type="text" name="txtMap" value= '<?php echo $map; ?>' /></td></tr>
<tr><td>StarRating</td><td><input type="text" name="txtStarRating" value= '<?php echo $starRating; ?>' /></td></tr>

<tr><td><input type="submit" name="submit" value="Save Changes" /></td></tr>
</table>



</form>

 

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.