RE: [PHP] Primary Key

From: Date: Tue, 10 Oct 2000 15:28:30 +0000
Subject: RE: [PHP] Primary Key
Groups: php.db 
Request: Send a blank email to php-db+get-3480@lists.php.net to get a copy of this message
What if the value of the variable I am using is the one from a outer join, how would I know which primary key is from which table? Please help? Thanks, Calvin -----Original Message----- From: Ben Weinberger [mailto:ben@digitalsmiths.com] Sent: Tuesday, October 10, 2000 11:16 AM To: Wee Chua; php-db@lists.php.net Subject: Re: [PHP] Primary Key Calvin~ If you look at the mysql table, you can do a: SHOW COLUMNS FROM tablename; that will tell you if the column with the variable you are using is a primary key. -Ben At 11:15 AM 10/10/2000 -0400, you wrote: >Hi, >Is there any way I could find out whether the value of the variable is the >Primary Key or not? > >Thanks, >Calvin > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >For additional commands, e-mail: php-general-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.db (#3480) next »