Submit Your Article Forum Rules FAQ About Us
Search the forums:

Tech Support Team


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.



Reply
  #1 (permalink)   Top
Old 12th November 2008, 02:54 PM
dudeking's Avatar
TST Expert
 
Join Date: Jul 2008, 583 posts.
Location: Nottingham, UK
Reputation: dudeking is on a distinguished road
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
Reply With Quote
  #2 (permalink)   Top
Old 12th November 2008, 03:12 PM
Blackmirror's Avatar
TST Oracle
 
Join Date: Jul 2008, 8,169 posts.
Location: UK Norfolk .....
Reputation: Blackmirror is on a distinguished road
Articles and Tutorials - Managing Foreign Key Relationships In MySQL Using SQLyog

Is that any help Eddie ??
__________________
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!!
Reply With Quote
  #3 (permalink)   Top
Old 12th November 2008, 03:25 PM
dudeking's Avatar
TST Expert
 
Join Date: Jul 2008, 583 posts.
Location: Nottingham, UK
Reputation: dudeking is on a distinguished road
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.
Reply With Quote
  #4 (permalink)   Top
Old 12th November 2008, 03:28 PM
Blackmirror's Avatar
TST Oracle
 
Join Date: Jul 2008, 8,169 posts.
Location: UK Norfolk .....
Reputation: Blackmirror is on a distinguished road
Articles and Tutorials - Doing More With phpMyAdmin Part 2 of 2

There
__________________
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!!
Reply With Quote
  #5 (permalink)   Top
Old 12th November 2008, 03:39 PM
dudeking's Avatar
TST Expert
 
Join Date: Jul 2008, 583 posts.
Location: Nottingham, UK
Reputation: dudeking is on a distinguished road
Thanks BM I've gotta go out now but I'll read through it when I get back tonight.
Reply With Quote
  #6 (permalink)   Top
Old 12th November 2008, 03:46 PM
Blackmirror's Avatar
TST Oracle
 
Join Date: Jul 2008, 8,169 posts.
Location: UK Norfolk .....
Reputation: Blackmirror is on a distinguished road
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!!
Reply With Quote
  #7 (permalink)   Top
Old 12th November 2008, 10:33 PM
dudeking's Avatar
TST Expert
 
Join Date: Jul 2008, 583 posts.
Location: Nottingham, UK
Reputation: dudeking is on a distinguished road
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.
Reply With Quote
Reply

Only registered members can participate in forum threads. You must register or log in to contribute.


Tags
database, keys, mysql, php, phpmyadmin

Thread Tools

Forum Jump


All times are GMT. The time now is 09:05 AM.






Post A Question!
Useful Links
Main Menu
Home
Forum Rules
FAQ
About Us
Welcome Pack
Search the forums
TST Mobile
Contact Us
Send Message

These are the 18 most used thread tags
Tag Cloud
32-bit cat drivers geforce hardware intel gfxui mobile 4 chipset driers modem monitor network no ring response no signal nvidia soft modem software wifi win7 windows 7