fj1200 Posted November 5, 2009 Share Posted November 5, 2009 I'm having a bit of a problem with a web form. It shows production status in one of our manufacturing areas with jobs listed in a table pulled from our production database - the job name appears on a button with a coloured background showing the job status - green for running and red for stopped. The idea is that when the job is completed they hit the button on a touch screen an a confirmation window pops up and they fill in other data before confirming, which then updates a SQL Server db and closes the popup. It all works as it should BUT the job name is always the same, like it's not releasing it. I've tried setting it to "" at the end of the insert in the pop-up, or on the parent page before the variables are set, but no good. It's the only part that isn't working and it's very frustrating. Not sure if I've got the button link to the popup right either. It's generated on the fly and sits in the forst cullumn of a table. in a table echo "<input style=\"font: 16px Arial; width:140px; height:40px;\" name=\"change_status\" type=\"submit\" VALUE=\"$job_desc\" onclick=\"window.open('http://manu001/m_status/mr_end.php?job=$_job,'popup','width=550,height=550, etc.... The variable $_job is a concatenated string of 10 other components that I then explode in the popup. Just makes it a bit easier for me. Anyone got any suggestions? Probably something pretty simple. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.