View Single Post
  #2  
Old 08-15-2006, 01:14 PM
blakey blakey is offline
OSP Starters
 
Join Date: Jul 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
blakey is on a distinguished road
Default

first of all remove the space from SELECT name, you cannot have spaces in the name...

after removing spaces on the action page of this form just fetch it from $_POST as you do for any other input field, like


PHP Code:
$singer_name = $_POST['pop_singer'];



for the first problem you may want to use braces around the IF statement. I am not sure if it will make any difference but you can try it. -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
  Webmaster Forums - View Single Post - trouble showing input type field
View Single Post
  #2  
Old 08-15-2006, 01:14 PM
blakey blakey is offline
OSP Starters
 
Join Date: Jul 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
blakey is on a distinguished road
Default

first of all remove the space from SELECT name, you cannot have spaces in the name...

after removing spaces on the action page of this form just fetch it from $_POST as you do for any other input field, like


PHP Code:
$singer_name = $_POST['pop_singer'];



for the first problem you may want to use braces around the IF statement. I am not sure if it will make any difference but you can try it. -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote