I would like to know how to properly edit a script to the effect of if no data was entered in a form field in a table cell to print the output as a blank table cell. Example:
##if data was entered print "<td colspan=x>$xyz</td>\n"; ##if no data was entered print "<td colspan=x> </td>\n";
I have searched the web, but could not find anything on this and have little understanding of perl. Is there an easy fix to this other than to write a sub routine 41 times? All I want to do is if no data was entered, just leave a blank table...otherwise print the data in the table.
In reply to lost wtih blank data by saffron
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |