Jump to content

Recommended Posts

I have a page on my site that will need to store the following information after a user submits it 

 

name, email  and password  and maybe a few more pieces of info

 

The information ONLY needs to be stored in database, not on another page.

 

How can i set this up? 

 

i dont know php or mysql

 

i did it before but i forgot

 

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/55504-mysql-and-php-simple-database-creation/
Share on other sites

Well, there are tons of ways to accomplish this. Have you tried searching? A quick look at the tutorials section here on PHP Freaks presented this basic approach which will give you a good starting point: http://www.phpfreaks.com/tutorials/142/0.php

 

Basically the approach is:

  • create a table to hold info
  • create form to collect info
  • capture that info in a php script
  • validate info and insert into db table

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.