From:             nskoric at gmail dot com
Operating system: any
PHP version:      5.1.2
PHP Bug Type:     Feature/Change Request
Bug description:  foreign key in mysql_fetch_field

Description:
------------
MySQL manual (http://dev.mysql.com/doc/refman/5.0/en/create-table.html)
states that MySQL does have (limited) support for foreign keys. PHP
function mysql_fetch_field
(http://www.php.net/manual/en/function.mysql-fetch-field.php) makes it
possible to check whether the field is primary_key, unique_key or
multiple_key, but we can't check if the field is foreign_key. And, that
feature would be most useful...


-- 
Edit bug report at http://bugs.php.net/?id=37020&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=37020&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=37020&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=37020&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=37020&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=37020&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=37020&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=37020&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=37020&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=37020&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=37020&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=37020&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=37020&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=37020&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=37020&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=37020&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=37020&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=37020&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=37020&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=37020&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=37020&r=mysqlcfg

Reply via email to