[docs] Change in QueryTag made by Brent Kelly
Wiki Watch
docs@icdevgroup.org
Thu Jan 16 15:42:00 2003
You can visit the live page at this URL:
http://www.icdevgroup.org/i/doc/wiki/QueryTag.html
--- tmp/8oINNmwB:210.54.178.22.previous Thu Jan 16 15:41:32 2003
+++ tmp/8oINNmwB:210.54.178.22.current Thu Jan 16 15:41:32 2003
@@ -148,7 +148,14 @@
# $Vend::Interpolate::Tmp->{my_results} == $hash_results
# $Vend::Interpolate::Tmp->{''} == $results == $same_results
- return $Tag->uneval( $results );
+ $out = $Tag->uneval( $results );
+
+ #loop through each row & display the fields
+ foreach my $row (@$results) {
+ $out .= '<p>sku: ' . $row->{sku} . '<br>price: ' . $row->{price} . '<br>description: ' . $row->{description};
+ }
+ return $out;
+
[/perl]
B<Technical Note: >The $Tag->query() call works a bit differently in