can anybody help me by pasing the codes for how to show only the logged in users details..
first tabel for login form... where user give his user name and password to login..
second tabel will be displayed after his succussive login...
in the first form only two textbox and 1 submit button are available..
tell me how to pass the user_id of that corresponding user to the next page so that i can select the appropriate user_id and show thier details.
how to pass data through submit button?
these are the two tabels...
CREATE TABLE `users` (
`user_id` tinyint(4) unsigned NOT NULL auto_increment,
`user_name` varchar(255) NOT NULL,
`user_answer` varchar(255) NOT NULL,
`user_email` varchar(255) NOT NULL,
`user_password` varchar(255) NOT NULL,
`user_password1` varchar(255) NOT NULL,
PRIMARY KEY (`user_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
CREATE TABLE `post_my_resume` (
`user_resume_id` tinyint(4) NOT NULL auto_increment,
`user_first_name` varchar(255) NOT NULL,
`user_last_name` varchar(255) NOT NULL,
`user_dof_birth` varchar(255) NOT NULL,
`user_place` varchar(255) NOT NULL,
`user_id` varchar(255) NOT NULL,
PRIMARY KEY (`user_resume_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;