Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143
This is the forum to discuss the Wrox book Beginning PHP 6, Apache, MySQL 6 Web Development by Timothy Boronczyk, Elizabeth Naramore, Jason Gerner, Yann Le Scouarnec, Jeremy Stolz; ISBN: 9780470391143
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old February 1st, 2012, 08:24 PM
Registered User
Points: 30, Level: 1
Points: 30, Level: 1 Points: 30, Level: 1 Points: 30, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2012
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default MyISAM with foreign keys?

Hello,

As I know the MyISAM databases don't support the foreign key and references(generally the relationships with these).So why the book wrox php6
uses these keywords (foreign key and references) in the examples with MyISAM Databases?(for example in tryout in p.365).Sorry but i confused...

Thank you
Reply With Quote
  #2 (permalink)  
Old February 2nd, 2012, 08:48 AM
Friend of Wrox
Points: 651, Level: 9
Points: 651, Level: 9 Points: 651, Level: 9 Points: 651, Level: 9
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2011
Location: North East UK
Posts: 125
Thanks: 0
Thanked 24 Times in 24 Posts
Default

Greetings,

You can get foreign keys to work on a MyISAM db, see the following article.

http://dev.mysql.com/tech-resources/...eign-keys.html
Reply With Quote
  #3 (permalink)  
Old February 2nd, 2012, 10:54 AM
Registered User
Points: 30, Level: 1
Points: 30, Level: 1 Points: 30, Level: 1 Points: 30, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2012
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello useless,

In this article shows how to use foreign keys programmatically by using triggers.however in the book examples don't used triggers, only the assign of foreign key.why?
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Where are my foreign keys? rstelma SQL Language 3 December 14th, 2011 07:03 AM
list foreign keys in sql 2000 jomet SQL Server 2000 2 May 2nd, 2008 12:15 AM
list foreign keys jomet Oracle 2 March 28th, 2008 05:17 AM
inserting records with foreign and primary keys tdaustin Classic ASP Basics 0 October 4th, 2005 01:49 AM
transfering identites as foreign keys santaji SQL Server DTS 1 September 23rd, 2003 10:28 AM



All times are GMT -4. The time now is 02:27 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.