View Single Post
  #2  
Old 08-11-2006, 02:19 PM
jackman jackman is offline
OSP Starters
 
Join Date: Jul 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jackman is on a distinguished road
Default

Hi benaud
Try this code

# initialize
$values = array();

# if its set, set it(!) otherwise, leave the hash empty
$values['name'] = isset($_POST['name']) ? validate_function($_POST['name']) : '';

I hope it is working fine now -- 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 - way to merge Hash (Array) dynamically?
View Single Post
  #2  
Old 08-11-2006, 02:19 PM
jackman jackman is offline
OSP Starters
 
Join Date: Jul 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jackman is on a distinguished road
Default

Hi benaud
Try this code

# initialize
$values = array();

# if its set, set it(!) otherwise, leave the hash empty
$values['name'] = isset($_POST['name']) ? validate_function($_POST['name']) : '';

I hope it is working fine now -- 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