help a newbie with tables?

admin

Administrator
Staff member
Allright, i need to add the following info to a table called \"users\". the value \"users\" is stored in the variable $table. There are 3 feilds in the table: id, username and password. Can anyone help me? Below is the code i used.


INSERT INTO $table (id, username, password) values (\"0001\", \"admin\", \"admin\");

thank you.
 
Back
Top