Your Ad Here

 Navigation
Home
Source code
Tutorials
RSS feeds
Articles
Wordpress plugins
Blog
Books
Software
Downloads
Hosting
manuals
Script directory
Training
Our Links




 Sponsors
 Links
dropshippers
low cost magazines
finance products
 Downloads
 Misc
Webmaster Resources
Only PHP
ScriptSearch.com
Scripts.com - Get the best scripts NOW!
AndreaPHP Programming

Valid XHTML 1.0 Transitional


Valid CSS!


Storing users contact info


Storing users contact info

This example will show how to create a database , then create a table in this database and then log a users email address and name in the database . This will be the basics of creating a newsletter system using PHP and MySQL.

First of all we will create our database using MySQL , enter the following at the command prompt.

CREATE DATABASE email;
USE email;

CREATE TABLE email(id int DEFAULT'0' NOT NULL auto_increment,
name VARCHAR(75) , email VARCHAR(50),
PRIMARY KEY(id));

Now we will check that everything is Ok by entering the following

DESC email;



That is perfect just what we are looking for , in the next part we will create our form that users fill in and also the script for storing this information in our database.

Back to index , Forward to section 2




Books
 Sponsors
 Random Code
Output a number with leading zeroes(math)
Stock ticker lookup(internet)
Getting the length of a string(string)
 Random Article
  Network
Programming resources
Tutorials directory
Clickbank mall
sell software
Free auctions, low cost stores
UK products
US products
Gambling directory
Sexy free wallpapers
Hosting resources
ASP site
DVD site
Domain names
Dating site
Software directory
Maxi directory
bigarticle : free articles




beginners PHP Copyright © 2004 onwards by beginnersPHP.