-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hi,
here is the code that worked for me
Subjects is a <select multiple>
[#do we have more than one subject?#]
[$ if ($fdat{subjects}=~m/\t/) $]
[#yes we do have multiple entries#]
[#entries seperated by tab character#]
[-
#splitting multiple subjects
$multiple=1;
@subjects_array=split(/\t/,$fdat{'subjects'});
$index=0;
- -]
[$else$]
[-
$multiple=0;
-]
[$endif$]
this follows the EMB:Perl documentation
at http://perl.apache.org/embperl/Embperl.pod.6.html#_fdat
have a nice day
peter
- -------------------------------------
PGP Public Key may be downloaded at:
http://www.infofreak.at/PeterMayr.asc
- -------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: PGP 7.0.4
iQA/AwUBO96/IFQyF72FK9dGEQIzrwCgvX+9TheZqWobyN9zkwMmj/cCikgAoKdU
7izp7AKD1UHwaIALQFMKPn54
=9uxP
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]