I am a dullard
| From: | Todd Barr | Date: | Tue, 07 Jan 2003 18:09:24 +0000 |
| Subject: | I am a dullard | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-130584@lists.php.net to get a copy of this message | ||
Okay...I am now having difficulty with putting things INTO the database.
The form is on another page, and links to this one.
<?php
$Host="localhost";
$User="us34992a";
$Password="******";
$DBname="db34992a";
$Link=mysql_connect ($Host, $User, $Password);
$db=mysql_select_db($DBname, $Link)
or die ("Unable to select database");
$Query="INSERT into calendar values
('$meeting_name','$meeting_place','$meeting_date','$meeting_note')";
$result=mysql_query($Query);
mysql_close ($Link);
?>