Jump to content

How to connect to database


RizwanAhmedMemon
 Share

Recommended Posts

I am creating an admission form which will ask for the information such as name, class, level, and such other information, so, I don't know how to connect to the database and how to make the database and how the database will store all that information. Can anybody explain it with real example with the code?

Link to comment
Share on other sites

Check the tutorials on w3schools, there are several examples there. There are also examples in the PHP manual: http://www.php.net/manual/en/mysqli.construct.php How to design an efficient database is another topic entirely. There are entire college classes about database design. Database administration is a career field all its own. I'm sure you can find database design tutorials that will at least help you with the very basics, but there's a lot to learn. You might want to look into books also, oreilly.com has a good selection.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...