Jump to content

mysql and php simple database creation


verano

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

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.