| Hello and Welcome to Tech Support Team! Before you can start posting and answering questions, you'll have to register. Registration is fast, simple and absolutely free! Feel free to browse through existing questions by choosing the forum you want to visit below. | | |  | 
12th November 2008, 02:54 PM
|  | TST Expert | | Join Date: Jul 2008, 583 posts. Location: Nottingham, UK Reputation:  | | | MYSQL Relationships??
I am creating a dynamic menu, it consists of categorizes and menu items. Obviously many menu items can belong to a category. I have done allot of work with Access databases before and am more than adequate with PHP so I know what im trying to do but I'm very new to MySQL and phpmyadmin, How can I create a foreign key in the menu item table to link to the Menu Category table?
Thanks | 
12th November 2008, 03:12 PM
|  | TST Oracle | | Join Date: Jul 2008, 8,169 posts. Location: UK Norfolk ..... Reputation:  | |
__________________ Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, chocolate in one hand, wine in the other, body thoroughly used up, totally worn out and screaming...
Damn, What a ride!! | 
12th November 2008, 03:25 PM
|  | TST Expert | | Join Date: Jul 2008, 583 posts. Location: Nottingham, UK Reputation:  | | |
Thanks BM that's exactly what I want to do but that is using SQLyog which seems to be some windows software. The interface I am using is called PHPmyadmin.
| 
12th November 2008, 03:28 PM
|  | TST Oracle | | Join Date: Jul 2008, 8,169 posts. Location: UK Norfolk ..... Reputation:  | |
__________________ Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, chocolate in one hand, wine in the other, body thoroughly used up, totally worn out and screaming...
Damn, What a ride!! | 
12th November 2008, 03:39 PM
|  | TST Expert | | Join Date: Jul 2008, 583 posts. Location: Nottingham, UK Reputation:  | |
Thanks BM  I've gotta go out now but I'll read through it when I get back tonight.
| 
12th November 2008, 03:46 PM
|  | TST Oracle | | Join Date: Jul 2008, 8,169 posts. Location: UK Norfolk ..... Reputation:  | | |
I will keep looking and hoping someone here knows
__________________ Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, chocolate in one hand, wine in the other, body thoroughly used up, totally worn out and screaming...
Damn, What a ride!! | 
12th November 2008, 10:33 PM
|  | TST Expert | | Join Date: Jul 2008, 583 posts. Location: Nottingham, UK Reputation:  | | |
I've got PHP first thing tomorrow at college so I'll have to ask the tutor if he will go over some advanced SQL with me.
|  | Only registered members can participate in forum threads. You must register or log in to contribute. All times are GMT. The time now is 09:05 AM.
| |
|