-
Von: BigMark [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 3. Juni 2004 05:13
An: [EMAIL PROTECTED]
Betreff: [PHP] how to insert form data
I am trying to learn how to take the value of $name and $quote
from a form
and put it in the database -whosaid
but obviuosly i have it all wrong
I am trying to learn how to take the value of $name and $quote from a form
and put it in the database -whosaid
but obviuosly i have it all wrong. Can anyone point out what im doing wrong.
thx in advance
?php
include(connect.php);
$name = $_POST['name'];
$quote = $_POST['quote'];
$sql = INSERT
INSERT into whosaid (name, quote) values ('$name', '$quote');
-Original Message-
From: BigMark [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 03, 2004 5:13 AM
To: [EMAIL PROTECTED]
Subject: [PHP] how to insert form data
I am trying to learn how to take the value of $name and $quote from
3 matches
Mail list logo