Hi, I'm really new to PHP folks and have this line in a php script and would like to display download links on a page depending on what the variable value of item_name is.

<?=$_POST[item_name]?>

In VB it would be something like this:
VB Code:
  1. link1 = "http://www.mysoftwareco.com/download1.php?"
  2. link2 = "http://www.mysoftwareco.com/download2.php?"
  3.  
  4. if item_name.Value = "Software1" then
  5. 'Show link1 on the page else
  6. Print link1
  7. Elseif item_name.value = "Software2" then
  8. 'Show link2 on the page else
  9. Print link2
  10. end if
so is it possible to do this in php?

Thanks in advance

Cheers!