Learning PHP and MySQL

Wednesday, September 27, 2006

Example 16-8 SQL to create the users table (may have already been created

CREATE  TABLE  `users`  (
    `
user_id`  int(11)  NOT  NULL  auto_increment,
    `
first_name`  varchar(100)  NOT  NULL,
    `
last_name`  varchar(100)  NOT  NULL,
    `
username`  varchar(45)  NOT  NULL,
    `
password`  varchar(32)  NOT  NULLPRIMARY  KEY    (`user_id`));

SQL code returns, again, that the query value was OK.

Query OK0 rows affected (0.02  sec)

Posted by krautgrrl on 09/27 at 11:40 AM
Chapter 16 Code • (4) Comments • (1) TrackbacksPermalink

Statistics

This page has been viewed 279796 times
Page rendered in 0.1200 seconds
Total Entries: 224
Total Comments: 16
Total Trackbacks: 307338
Most Recent Entry: 09/27/2006 12:39 pm
Most Recent Comment on: 10/26/2007 10:00 am
Total Members: 2
Total Logged in members: 0
Total guests: 10
Total anonymous users: 0
Most Recent Visitor on: 09/09/2010 02:56 pm
The most visitors ever was 1103 on 11/20/2007 12:50 pm

Referrers

Powered by ExpressionEngine