Distinguishing foreign keys in a table?
| From: | Ken Tozier | Date: | Mon, 21 Apr 2003 01:10:18 +0000 |
| Subject: | Distinguishing foreign keys in a table? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-144580@lists.php.net to get a copy of this message | ||
Is it possible to determine if a field in a table is a foreign key? I looked at all the mysql_xxx functions but didn't see anything that looked like it would return this type of info. Once a foreign key is established, I would also need to get the table name associate with that key so I could navigate the link. Is that possible?
Thanks
Ken