Fatal error: Uncaught mysqli_sql_exception: Cannot delete or update a parent row: a foreign key constraint fails (`u604085345_dairy`.`record`, CONSTRAINT `record_ibfk_1` FOREIGN KEY (`fid`) REFERENCES `farmer` (`id`)) in /home/u604085345/domains/mcrazysoft.com/public_html/delete.php:13
Stack trace:
#0 /home/u604085345/domains/mcrazysoft.com/public_html/delete.php(13): mysqli->query()
#1 {main}
thrown in /home/u604085345/domains/mcrazysoft.com/public_html/delete.php on line 13