Jump to content

Please help with this table within my PHP,Please tell me whats wrong...


Recommended Posts

<table align="center">

 

<td style="width:700px;

font-size:30px;text-align:center;">

</td>

</tr>

 

<tr>

<td style="width:650px;background-color:#f4f4f4;font-family:verdana;

font-size:16px;padding:15px;border:2px solid #596865;text-align:left;">

 

<?php

 

 

 

print "<tr><td style='background-color:#f4f4f4;font-family:verdana;

font-size:16px;width:120px;'>Age</td><td style=';text-align:left;background-color:#f4f4f4;'>$_POST['age']</input></td></tr>";

 

print "Age: ".$_POST['age']."</br>";

print "ID Number: ".$_POST['id']."</br>";

print "Weight: ".$_POST['weight']."</br>";

print "Distance: ".$_POST['dist']."</br>";

print "Hours: ".$_POST['hour']."</br>";

print "Minutes: ".$_POST['min']."</br>";

 

$com=stripslashes($_POST['comment']);

$com=nl2br($com);

 

print "Comment made :$com";

 

 

 

 

 

 

?>

 

</td>

</tr>

</table>

 

Are there errors?  What does the output look like?  What do you want it to look like?  You need to be a little more descriptive...

 

...sorry...it is a handle form for another page and outputs various answers...it worked alright,but im trying to put a table inside the PHP (as u can see) in order to line things up and make it neater...this table is causing the error and its not showing..

 

 

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.