MySQL Forums
Forum List  »  Newbie

Re: AUTONUMBER
Posted by: Alin Brin
Date: March 27, 2005 08:23AM

I think i fixed this error but i am getting these following warning errors:


Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in ./dbUtil_class.php on line 85

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in ./dbUtil_class.php on line 99


on this query:

CREATE TABLE Candidates (
candidateID MEDIUMINT ZEROFILL NOT NULL AUTO_INCREMENT,
electionID INT(10) NOT NULL,
name VARCHAR(32) NOT NULL,
PRIMARY KEY(candidateID),
FOREIGN KEY(electionID) REFERENCES Election(electionID)
);

Options: ReplyQuote


Subject
Written By
Posted
March 27, 2005 07:41AM
Re: AUTONUMBER
March 27, 2005 08:23AM
March 27, 2005 08:57AM
March 27, 2005 08:50AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.