RE: [PHP-GENERAL] How make auto_increment field visisble but read only

From: Date: Tue, 23 May 2000 14:12:29 +0000
Subject: RE: [PHP-GENERAL] How make auto_increment field visisble but read only
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-355@lists.php.net to get a copy of this message
Instead of using an input box, just display it as normal text like echo $dbresult["id"] or such and if you need that ID have <input type=hidden name=id value=$dbresult["id]> in your form. Liz > -----Original Message----- > From: helmut ott [mailto:haott@freenet.de] > Sent: 23 May 2000 15:12 > To: php-general@lists.php.net > Subject: [PHP-GENERAL] How make auto_increment field visisble but read > only > > > Hello tricky world, > > Probably a trivial problem, too bad its not yet for me: > > I have an mysql auto-increment, not_null, primary key named ID. > How can I display it and prevent any changes? > > Thanks everybody again. > > Helmut > >

« previous php.general (#355) next »