August 1st, 2000, 03:00 AM
Not related on php but:
How do I write the Alter table clause on Mysql if I want to add on delete cascade on a table.
August 1st, 2000, 05:20 AM
The following is the "Alter table syntax".
ALTER TABLE tablename ADD fieldname FIELDTYPE;
ALTER TABLE emp ADD ename VARCHAR(30);
I don't know wether "on delete cascade" is supported by mysql or not.I haven't tried this with mysql.
If you post this question in mysql forum,then you may get a better answer.Also check it out the mysql manual.
"The fear of the LORD is the beginning of knowledge..."