Jump to content
RizwanAhmedMemon

How to connect to database

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?

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...