Re: Very stange problem
| From: | Rasmus Lerdorf | Date: | Tue, 04 Jul 2000 15:58:12 +0000 |
| Subject: | Re: Very stange problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4764@lists.php.net to get a copy of this message | ||
Well, stick a mysql_error() call in there and see what the database is
telling you is wrong with this.
-Rasmus
On Tue, 4 Jul 2000, Daniel Vesma wrote:
> > Have you definitely got INSERT privileges as well as SELECT for that
> > database?
>
> Yeah. I'm sure. It's running on my stand-alone win98 PC with Apache.
>
> It was created using:
>
> CREATE TABLE tblGrads
>
> ID tinyint(4) DEFAULT '0' NOT NULL AUTO_INCREMENT,
> NAME varchar(40),
> EMAIL varchar(40),
> URL varchar(60),
> PHONE varchar(40),
> DOB varchar(10),
> ADDRESS varchar(100),
> SCHOOLING varchar(250),
> WORKEXP varchar(250),
> INTERESTS varchar(250),
> PRIMARY KEY (ID),
> UNIQUE id (ID)
> );
>
> and was working yesterday (I have two records in the database to prove it).
>
> Spooky isn't it!
>
> Daniel Vesma - IT and Webdesign Manager
> The Web Tree: http://www.thewebtree.com
>
>
>
>