Hello there,
Can anyone tell me if its possible to get a foreign key from a table to display in a drop-down list in php? or html?
Many thanks.
http://en.wikipedia.org/wiki/Join_%28SQL%29
You may simply select the column on which there is a foreign key defined. If that column is col_a, then
SELECT col_a FROM table_t