There are still some problems here.
After I click on the active and inactive radio button, it seems like doing some changes, but the page still remains the same.
can you tell me how to do the debuging.
I forward to you my database named emp_profile, and the table name is also named emp_profile.
CREATE TABLE emp_profile (
empID int(10) unsigned NOT NULL auto_increment,
empf_name varchar(60) NOT NULL,
empl_name varchar(60) NOT NULL,
emp_passwd varchar(32) NOT NULL,
emp_email varchar(200) NOT NULL unique,
emp_rank varchar(128) NOT NULL,
emp_department varchar(255) NOT NULL,
creatDate datetime,
status int(2),
PRIMARY KEY (empID)
) ;
############### insert into emp_profile ####################
insert into emp_profile (empID, empf_name, empl_name,
emp_passwd, emp_email, emp_rank, emp_department, creatDate, status) VALUES
(null, 'Chris', 'Tseng', 'cs160', 'sjsusjsu','instructor', 'cs,me',
now(), 1);
insert into emp_profile (empID, empf_name, empl_name,
emp_passwd, emp_email, emp_rank, emp_department, creatDate, status) VALUES
(null, 'Chris', 'Tseng', 'sjsusjsu', 'cs160', 'instructor', 'cs,me,oe',
now(), 1);
insert into emp_profile (empID, empf_name, empl_name,
emp_passwd, emp_email, emp_rank, emp_department, creatDate,status) VALUES
(NULL, 'John', 'Smith', '1234567', 'John@hotmail.com',
'student', 'cs,chem', now(), 0);
insert into emp_profile (empID, empf_name, empl_name,
emp_passwd, emp_email, emp_rank, emp_department, creatDate, status)
VALUES (null, 'Alice', 'Smith', '234567', 'alice@yahoo.com', 'stud',
'cs', now(), 1);
INSERT INTO emp_profile (empID, empf_name, empl_name, emp_passwd,
emp_email, emp_rank, emp_department, creatDate, status)
VALUES ('', 'Jing', 'Chang', 'pass', 'csa', 'admin', 'cs', now(), 1);
thanks for your very useful help