View Single Post
  #5 (permalink)  
Old 06-15-2007, 08:02 PM
HelloWorld's Avatar
HelloWorld HelloWorld is offline
PT Admin
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: In front of computer...
Posts: 1,119
iTrader: (0)
HelloWorld is a jewel in the roughHelloWorld is a jewel in the roughHelloWorld is a jewel in the rough
Quote:
Originally Posted by Nutter View Post
It sounds like you're looking at two different types of queries. The one you quoted is the query that actually builds the table. If you're trying to insert a user into this table you need an INSERT query, or if you're updating then an UPDATE query.

Code:
INSERT INTO memberinfo (username, password) VALUES ('John', 'pass');
You're probably going to want to make the fields longer than 4 characters.
Tell me if I'm not wrong, and we can control these from PHP too, right? thx, rep added

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote