Search engine

Question by Isa Ranjha:
How Do I Add A Record To PHPMyAdmin through a php script on my website?

I am creating a login page and making a register button. I want to add a record when they press the button.


——————————————

Answer by Colinc
You don’t. You create a suitable database, with appropriate tables for the data you want to store. Also create a user the bare minimum rights for the site to access this database. Then write the scripts to edit and read ONLY that database. NEVER give anyone access to the phpmyadmin database itself, they an take over the whole server that way. And your hosting company would be most unhappy if you do.

——————————————
Know better? Leave your own answer in the comments!