mrjameer Posted December 19, 2006 Share Posted December 19, 2006 hi,iam making a website for school.on one web page,there are 2 radio buttons.1 is for science and one for computers.like thissubjects1.science2.computersthe user can click any of radiobutton and press submit button it will moves to the second web page.on that again i have 2 radiobuttons.1 for sing and one for music like this.hobbies1.sing2.music.here he clicks one radiobutton and press the submit button,then his choosen subject and hobbies should be stored in mysql table.i did all this.but here what i actually want to do is,if he selects only subject and ignore the hobbies then the subject should be stored in db.if ignore the subject and chooses the hobbies only then it should be stored in db.i used sessions to move data from one page to another.i dont know how to do this.please any of your help is appreciated.thanksmrjameer Link to comment https://forums.phpfreaks.com/topic/31231-inserting-data-in-mysql-db-using-php/ Share on other sites More sharing options...
makeshift_theory Posted December 19, 2006 Share Posted December 19, 2006 Can you post your db structure to make things a tad easier? Link to comment https://forums.phpfreaks.com/topic/31231-inserting-data-in-mysql-db-using-php/#findComment-144455 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.