Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
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
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:45 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc