Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Mysql help

Name: Anonymous 2012-10-03 0:23

Need help guys.
I have a form and want the form data to save to mysql data base. I looked this shit up but could never find nothing, used the tutorials but none of them worked.

Here is the form

<form method="post" action="input.php">
        <tr>
          <td>Name</td>
          <td><input type="text" name="name" size="20">
          </td>
        </tr>
        <tr>
          <td>Comment</td>
          <td><input type="text" name="comment" size="90">
          </td>
        </tr>
        <tr>
          <td></td>
          <td align="right"><input type="submit"
          name="submit" value="Sent"></td>
 
Could you also explain whats happening with the php code please?

Name: Anonymous 2012-10-03 1:05

>>16
>>19
You started writing the line mysql_query("INSERT INTO Persons (name, comment) and then just stop the PHP with ?>. Why didn't you add the end of the string and the closing paren, and semicolon? And the rest of the PHP code after that...

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List