Re: Primary Key
| From: | Ben Weinberger | Date: | Tue, 10 Oct 2000 15:16:19 +0000 |
| Subject: | Re: Primary Key | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-3479@lists.php.net to get a copy of this message | ||
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