thanks for the quick reply jamie85 did not exspect b that quick
i put the 3 lines in u surgested and it worked but now i got a new prob
i get the error invalid login ok but when i put a name and password i know to be in the data base i still get invaild login
hope u can help and im not been too much of a pain
hi Pascal P this only a test think so far hopeing sort sequrity soon as well
im quite new to this so im just editing this tutral 1st
im not quite sure what u was saying in the reply cus im am really new to php
im am still working on it so any relpy will b helpful
thanks every1 whos trying help this my 1st question and already got some good ideas love phpbulider.com amzing place to learn
btw the database that came with the tutral is a text file with exstention sql hope that make sence and i put it in the same dir as the login php
it reads
MySQL-Front Dump 2.0
#
Host: localhost Database: userlist
#--------------------------------------------------------
Server version 3.23.33
DROP DATABASE IF EXISTS userlist;
CREATE DATABASE userlist;
USE userlist;
#
Table structure for table 'users'
#
CREATE TABLE users (
userID tinyint(3) unsigned NOT NULL auto_increment,
name char(20) NOT NULL default '',
password char(40) NOT NULL default '0',
PRIMARY KEY (userID),
UNIQUE KEY userID(userID,name)
) TYPE=MyISAM;
#
Dumping data for table 'users'
#
INSERT INTO users VALUES("2","someone","11c931a873eb2cbd");
INSERT INTO users VALUES("20","Kermit","056244e832268bb0");
INSERT INTO users VALUES("19","Mr X","032c41e8435273a7");
hope this will help
i have been useing Navicat to crate my own databases as well is this best program to use?
Thanks all
Trev