CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Help with code

 



sajiv
Deleted

Oct 24, 2000, 9:16 AM

Post #1 of 1 (316 views)
Help with code Can't Post

Hi,

Can someone help me so that i can get these 2 items field and item so that the output displays &fieldname=$itemname for all fields

Now it lists all fields and then lists all
items. Thanks
Code =====================================
sub multiple_match{
foreach $field (@fields){
print "\&\u$field\=";
} # End of foreach


foreach $record (@results){
($key,@field_vals) = split(/\|/, $record);

for($x=0;$x<$field_count;$x++){
$item = &check_empty($field_vals[$x]);
$data1[<>]= "$item";
print "$item";
}
} # End of foreach loop.

} # End of multiple_match subroutine.

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives