-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Levi Smith wrote:
> Is this just something where I need to do more research on PHP/MySQL language 
> so that my queries will take care of what the foreign keys, etc. would have 
> done?

You are right in that you don't necessarily need foreign keys. You could
just do without this functionality. All it does is helps to guarentee
consistancy. Or you could implement the same sort of functionality in
your own code. Create methods to access the database which automatically
check that the relation is valid. ie. that if you enter an item with a
certain category that the category does actually exist over in your
categories table etc.

- --
Tracy R Reed
http://ultraviolet.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFDA2nl9PIYKZYVAq0RAoZdAJ4ulW4gFjmNDaSDf4eJZEUOTwKNKgCeMlf6
PdwDzn/x7vMT2js7SNgrUUw=
=agSN
-----END PGP SIGNATURE-----


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to