ankycooper Posted September 14, 2006 Share Posted September 14, 2006 hey i need a form fom which i can insert multiple records for each of the fields need helpempid, name, phone, address Quote Link to comment Share on other sites More sharing options...
Zane Posted September 14, 2006 Share Posted September 14, 2006 We're not here to write you're code for youif you want that check out the PHP Freelancers formthere are plenty of people willing to do it....but it might cost ya...who knows Quote Link to comment Share on other sites More sharing options...
ankycooper Posted September 14, 2006 Author Share Posted September 14, 2006 i want to learn it. and not get it donealraedy searched google cant find any clue Quote Link to comment Share on other sites More sharing options...
joshi_v Posted September 14, 2006 Share Posted September 14, 2006 Ok.If you want to insert all the fields in to same table try thisif($empid)insert into `table name` (id,empid) values(id,$empid);if($name $$ $name)update 'table name' set name ='$name' where id ='id value' //Here i am assuming that u r not doing auto incrementing of the id .so here u have to insert previous id ur are using for empid.elsehere u have to write an insert querysame for other fields also.If in case u want to insert into different tabel it is much easier than previous oneJust write an insert query for each and every field.Hope it will helpsCheers :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.