Re: [PHP] Inserting records question

2005-09-09 Thread Mark Rees
> > Still learning, so sorry if this sounds really simply noobish. But as I > > understand things currently this should work. But doesn't. I've been > > looking over tutorials but just don't see whatever the problem is. > > > > I created a simple table with the following fields (in order) > > tc

RE: [PHP] Inserting records question

2005-09-08 Thread Warren Vail
: Iggep > Cc: php-general@lists.php.net > Subject: Re: [PHP] Inserting records question > > > > Still learning, so sorry if this sounds really simply > noobish. But as > > I understand things currently this should work. But doesn't. I've > > been

Re: [PHP] Inserting records question

2005-09-08 Thread Scott Noyes
> mysql_connect(localhost,$username,$password); > @mysql_select_db("$database") or die("Unable to Connect to > DB"); > $tc_query = "INSERT INTO $tablel VALUES(NULL, $lname, $fname, > $machine_name, > $email_addr, $problem, NULL)"; >

Re: [PHP] Inserting records question

2005-09-08 Thread Philip Hallstrom
Still learning, so sorry if this sounds really simply noobish. But as I understand things currently this should work. But doesn't. I've been looking over tutorials but just don't see whatever the problem is. I created a simple table with the following fields (in order) tc_id (auto nmbr) lname