Try, $Query="INSERT into calendar (meeting_name, meeting_place, meeting_date, meeting_note) values ('$meeting_name','$meeting_place','$meeting_date','$meeting_note')"; Hope this helps, Hugh
----- Original Message ----- From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 07, 2003 7:14 AM Subject: Re: [PHP] I am a dullard > On Wednesday 08 January 2003 02:09, Todd Barr wrote: > > 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); > > ?> > > And what is the problem? > > What does $Query contain? > > After doing mysql_query() what does mysql_error() show? > > -- > Jason Wong -> Gremlins Associates -> www.gremlins.biz > Open Source Software Systems Integrators > * Web Design & Hosting * Internet & Intranet Applications Development * > > /* > Numbers talk, bullshit walks. > > - Dave Miller on linux-kernel > */ > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php