Prevent Delete of Master Record If Child Record Exist PHP Script


Prevent Delete of Master Record If Child Record Exist PHP Script

In this tutorial will see how to prevent delete from a parent/master record if data exist on another or related table. For this example, I have used programme and course table to prevent deletion of data in programme table, if programme name is available on course table. In this case, I have map the one-to-many relationship between programme table and course table.

 

 


Related Post


Find Weather Forecast from IP Address PHP Script Find Weather Forecast from IP Address PHP Script To retrieve the weather forecast for your location based only on your current IP, the full tutoria...
B2Evolution v6.4.4 Stable Blog PHP Script B2Evolution v6.4.4 Stable Blog PHP Script Create a beautiful blog website using this php scrpt. b2evolution is an advanced weblog tool, i-e soft...
Social Video Share v1.8 PHP Script Download Social Video Share v1.8Social Video Share v1.8 Supporting : Youtube, Vine, Instagram Videos, Vimeo, Dailymotion, Metacafe Comments for Videos Faceb...
Online Class Record And Grade Inquiry System Using... Online Class Record And Grade Inquiry System Using PHP/MySQL PHP Script The title of this system is online class record and grade inquiry system, p...
Open Journal Systems v2.3.3-3 PHP Script Download Open Journal Systems v2.3.3-3 PHP Script Download Open Journal Systems (OJS) is a journal management and publishing system that has been developed ...

Read Me

Have any Question or Comment?

Leave a Reply

Your email address will not be published. Required fields are marked *