To me it sounds like you're missing a double quotion mark (")...maybe at the end of a line?
ex
$sst = "This is my site";
printf "Hello world, ;
printf "<tr><td>$sst</td></tr>";
You see in the second line there's no " at the end...so the script actually thinks the second line is to display
Hello world,;
printf
Now on line 3 the first quotation mark is considered the end of line for line #2...which then makes the script assume the quote is done and looks for new commands to process...in this case it finds <tr> as the next supposed command...which is a bad command and causes an error.
If you want to provide the previous five lines of your script I probably can locate the quote problem
|