Hi, my main program lists an HTML table with certain records. This HTML table has a column that enables the user to delete records by clicking a special link.
This link points to a secondary .php code that deletes the record. Then, I added an include clause that points back to the main php program to show the updated and new real list.
My problem is that I get an error that says that I am declaring again a previously declared function, like:
"Fatal error: Cannot redeclare dbconnect() in c:\apache\htdocs........"
main.php ----> deleterec.php ----> main.php
Is there any different way to make the user delete records using the same HTML and link column to avoid this error ?
Thank you!