unitedintruth Posted February 16, 2007 Share Posted February 16, 2007 We are trying to put a job application on our website for people to apply online via this application. Got all that communicating and recording to SQL as desired (i think and hope) but have now one small issue remaining. We have more than one position open, so what we thought we would do is one one page list the jobs that are open at the time with their descriptions, salaries, etc..., with an "Apply Now" button that when clicked on would take them to the application page. My question is, how could I make it automatically carry over the job they clicked on to automatically populate a "Position Applied For" field in the application? Thank you in advance for any help I can get. Link to comment https://forums.phpfreaks.com/topic/38803-form-trouble-please-help/ Share on other sites More sharing options...
paul2463 Posted February 16, 2007 Share Posted February 16, 2007 when the job is applied for POST the table id and have a query at the top of the next page which takes in the $_POST['jobid'] and updates the table Link to comment https://forums.phpfreaks.com/topic/38803-form-trouble-please-help/#findComment-186514 Share on other sites More sharing options...
unitedintruth Posted February 16, 2007 Author Share Posted February 16, 2007 I don't quite understand. I am very new to php and really trying. Exactly how would you write it if the job being applied for was "plumber", and the field in the sql the form writes to is called "positionappliedfor" and the database table it is in is called "employ_apps". Thank you so much, I am very grateful for your input. Link to comment https://forums.phpfreaks.com/topic/38803-form-trouble-please-help/#findComment-186526 Share on other sites More sharing options...
arifsor Posted February 16, 2007 Share Posted February 16, 2007 try this: <a href="app.php?job=Plumber">Apply Now 1</a> <a href="app.php?job=Electriction">Apply Now 2</a> on next page get the values form the URL $job = $_REQUEST['job']; Link to comment https://forums.phpfreaks.com/topic/38803-form-trouble-please-help/#findComment-186532 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.