Here is a snipplet of php code. I am adding user name and hash password to a table called admin
$sql = "insert into admin values ('','test1','test1',password('test83'))";
What I am doing here is inserting a last name, user id and password(hashed) into a table. The first '' is autoincremented. I have 100 dfferent (values)or names, user id and passwords to insert. How can I write this to include all 100 in the same insert statement. Will I need to write one insert statement,
Must I create a .txt file then upload? If so how would I handle the hash password?
$sql = "insert into admin values ('','test1','test1',password('test83'))";
What I am doing here is inserting a last name, user id and password(hashed) into a table. The first '' is autoincremented. I have 100 dfferent (values)or names, user id and passwords to insert. How can I write this to include all 100 in the same insert statement. Will I need to write one insert statement,
Must I create a .txt file then upload? If so how would I handle the hash password?