Jump to content

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


stof01

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..

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.