Results 1 to 5 of 5

Thread: Foreign Key

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2005
    Posts
    32

    Angry Foreign Key

    Can anybody tell me how to set foreign key using phpmyadmin??

  2. #2
    <?="Moderator"?> john tindell's Avatar
    Join Date
    Jan 2002
    Location
    Brighton, UK
    Posts
    1,099

    Re: Foreign Key

    Just enter the same information for the foriegn key as what is in the table it is relating to. Not sure what you are really asking for as AFAIK their isnt a way to create relations, like in access, with PHPMyAdmin

  3. #3
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: Foreign Key

    Mysql 4 (not sure about 5) does not have foreign key constraints. You need to enforce the integrity in the application.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

  5. #5

    Thread Starter
    Member
    Join Date
    Nov 2005
    Posts
    32

    Re: Foreign Key

    Thanks for the reply

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width