User Profile

Collapse

Profile Sidebar

Collapse
JimS
JimS
Last Activity: Aug 3 '06, 05:42 PM
Joined: Jul 18 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • JimS
    replied to $_POST question
    in PHP
    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?
    See more | Go to post

    Leave a comment:


  • JimS
    started a topic $_POST question
    in PHP

    $_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)
    ...
    See more | Go to post

  • JimS
    replied to Dependant Drop Down Box
    in PHP
    Code:
    onchange="window.location='select.php?language='+this.value"
    I am assuming this reloads the page back into itself?
    See more | Go to post

    Leave a comment:


  • JimS
    started a topic Dependant Drop Down Box
    in PHP

    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...
    See more | Go to post
No activity results to display
Show More
Working...