Posted by Brian on 09/26/30 11:22
>> 1) If the user deletes an images from the 'advertlibrary' table, it will
>> delete the file from the server, and delete that entry from the table by
>> using the 'filename' as the pointer (the filename is always unique). That
>> I can do, now what I need to work out is how to delete all references to
>> this image from the 'profiles' table.
>>
>
> Read about foreign kyes
foreign keys in MySQL?
Brian
Navigation:
[Reply to this message]
|