View Single Post
  #4 (permalink)  
Old 06-08-09, 06:55 AM
mdhall's Avatar
mdhall mdhall is offline
Aspiring Coder
 
Join Date: Oct 2003
Posts: 510
Thanks: 1
Thanked 1 Time in 1 Post
You have a few things out of whack ....

PHP Code:

//show data to user.

echo "
<table>
    <tr>
    <td>
    Info about the user who has posted.
    </td>
    </tr>
    <tr> 
    <td>
    Message
    </td>
    </tr>    
</table>"
;




//Horizontal Line
echo "<hr>";

//Form

echo "
<form action=\"index.php\" method=\"POST\">
<table width=\"100%\">
    <tr>
        <td width=\"18%\">
        Your Full Name:
        </td>
        <td>
        <input type=\"text\" name=\"text\" maxlength=\"35\">
        </td>
    </tr>
    <tr>
        <td>
        Your Email:
        </td>
        <td>
        <input type=\"text\" name=\"email\" maxlength=\"50\">
        </td>
    </tr>    
    <tr> 
Escape your quotation marks, and make sure your echo tags are closed as well.
Reply With Quote