
Originally Posted by
bbparis
Thanks, which kind of book you mean, and you can please put
sorry I did not write the above sentence very well, I was tired and using my mobile.

Originally Posted by
aszxcv
i think oreily cookbook is good
because it gives you a problem and solution
and php for dummies is good
w3schools.com and killerphp.com give good online tutorials
thank you, I will check these books and get back to you if I have any question.
About tutorials, as I said before, I liked so much w3schools.com, because this website made MySQL easy for me.
arkinstall, you said that the tutorials helped you a lot, can you tell me if you have a special websites for tutorials ???
now the time to ask you all a php question:
PHP Code:
// create table on database
$create = "create table $table (
id smallint(5) NOT NULL auto_increment,
username varchar(30) NOT NULL default '',
password varchar(32) NOT NULL default '',
PRIMARY KEY (id),
UNIQUE KEY username (username)
);";
I understand PRIMARY KEY if to give number to each row, but why UNIQUE KEY is the username ??
Bookmarks