View Single Post
Old 2004-07-11, 02:19 AM   #3
Bunnyhop
Lord help me, I'm just not that bright
 
Join Date: Jun 2004
Posts: 106
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
Bunnyhop is offline   Reply With Quote