Connecting my PHP website into an SQL server(Wampserver)
in the following website that I made are 5 pages:
index.php
plan.php
complete.php
searchP.php
searchC.php
What I need is to connect (plan.php, complete.php, searchP.php, searchC.php) to multiple tables in SQL so..
____________________________________________________________________________________*
when a user fills a form in plan.php (plan course) the data will be transfered into the SQL table for plan course.
when a user fills a form in complete.php (complete course) the data will be transfered into the SQL table for complete course.
ALSO..
when a user puts his ID in searchP.php (search planned courses) the code will fetch all data in the SQL table for plan.php
when a user puts his ID in searchC.php (search completed courses) the code will fetch all data in the SQL table for complete.php
____________________________________________________________________________________*