Re: Primary Key?

From: Date: Tue, 17 Oct 2000 20:41:03 +0000
Subject: Re: Primary Key?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-20706@lists.php.net to get a copy of this message
Wee Chua wrote: > > I don't think you have understand my problem correctly! I want to know the > "value" of the primary key of a recode call John inside the Employee table. > John is the under employee name in my query. > > Employee Table > ID Employeename > 1 John > 2 Mike > > select employeename from employee table > > how would I get the value of primary key of John if I only have employeename > field available on my echo statement? > select ID, employeename from "employee table" -- Stefan - Zipkid - Goethals YourNet - Open source web design & Site management. http://www.yournet.be mailto:stefan@yournet.be

« previous php.general (#20706) next »