If the variable is set it cannot be blank (response from drop down box)
Is it a problem that I am calling it via a function?
User Profile
Collapse
-
$_POST question
In the first if statement am I properly checking for a post variable? Also, is the post variable's name the same as the input name?
...Code:if(isset($_POST('job_select'))) { $job_name=$_POST('job_select'); $result=mysql_query("SELECT DISTINCT labor_code FROM oats_jobs_users_laborCode where user='$user_name' and job_name='$job_name' order by job_name;"); if($result) -
I am assuming this reloads the page back into itself?Code:onchange="window.location='select.php?language='+this.value"
Leave a comment:
-
Dependant Drop Down Box
Ok, I am trying to populate two drop down boxes with the results of a query. I have the first one set up and working but I am stuck on how to pass the results of the first query as a constraint for the second as there is no submit and every example I can find on the web only shows how to pass via post/get into another page. :mad:
Here is what I have for code:
Below are the functions that display the results...
No activity results to display
Show More
Leave a comment: