stof01 Posted February 26, 2009 Share Posted February 26, 2009 <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> Link to comment https://forums.phpfreaks.com/topic/147044-please-help-with-this-table-within-my-phpplease-tell-me-whats-wrong/ Share on other sites More sharing options...
Maq Posted February 26, 2009 Share Posted February 26, 2009 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... Link to comment https://forums.phpfreaks.com/topic/147044-please-help-with-this-table-within-my-phpplease-tell-me-whats-wrong/#findComment-771962 Share on other sites More sharing options...
stof01 Posted February 26, 2009 Author Share Posted February 26, 2009 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.. Link to comment https://forums.phpfreaks.com/topic/147044-please-help-with-this-table-within-my-phpplease-tell-me-whats-wrong/#findComment-771970 Share on other sites More sharing options...
napurist Posted February 26, 2009 Share Posted February 26, 2009 You may want to fix #f4f4f4;'>$_POST['age']</input>< to #f4f4f4;'>".$_POST['age']."</input>< first and see what happens... Link to comment https://forums.phpfreaks.com/topic/147044-please-help-with-this-table-within-my-phpplease-tell-me-whats-wrong/#findComment-771980 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.