Re: Mysql question(s)

From: Date: Wed, 24 Jan 2001 08:39:49 +0000
Subject: Re: Mysql question(s)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-36356@lists.php.net to get a copy of this message
> I created a table with FaceMysql that had one field and I could not add data > to it .Only when I recreated it with 2 fields and a primary key did it > work.Is there any reason for this?Must there always be a primary key in > Mysql?I've never known this to be true of relational Db's.Especially if you > can't implement a foriegn key.Mike P > ampeloso@princeton.edu I thought phpMyAdmin had a similar thing when it came to deleting records -- If you didn't have an auto_increment or unique key or whatever, it couldn't be sure which record to delete... -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm

« previous php.general (#36356) next »