I have this piece of code
if (length($rec{'fieldnname'})>7) {
print qq|<a href="$db_script_link_url&$db_key=$rec{$db_key}&show_pic=1"><img src="$slikaslika" valign="middle" border="0"></a>|;
}
But I want to include another check in the above routine so the code will be executed only if both conditions are satisfied...
something like if (lenght($rec(A)>7) and (lenght($rec(B)>3) {
}
else {
}
Tnx in advance...
if (length($rec{'fieldnname'})>7) {
print qq|<a href="$db_script_link_url&$db_key=$rec{$db_key}&show_pic=1"><img src="$slikaslika" valign="middle" border="0"></a>|;
}
But I want to include another check in the above routine so the code will be executed only if both conditions are satisfied...
something like if (lenght($rec(A)>7) and (lenght($rec(B)>3) {
}
else {
}
Tnx in advance...