Good day!
I encountered an error at line 26, error: expected ';'
I can't see what is the cuase of that error.
I attached my codes.
Thank you
Good day!
I encountered an error at line 26, error: expected ';'
I can't see what is the cuase of that error.
I attached my codes.
Thank you
you didn't include { } brackets after your if() condition on line 25, so php thinks it's a single-line "if" and can't find the closing semicolon:PHP Code:if(mysql_num_rows($result_no) > 0 )
$clicking_input = 0;
$clicking_total = 0;
// should be:
if(mysql_num_rows($result_no) > 0 )
{ // <--right there! : )
$clicking_input = 0;
$clicking_total = 0;
// and however far down you want the closing }
Last edited by traq; 12-15-2010 at 04:14 AM.
Just on a hunch, I'd say get rid of the highlighted:
If that doesn't work -Code:<bodyonLoad="document.clttest.clt_no.focus();">
Is that a javascript error or a PHP error? If it's javascript, we need to see the served source code, so either give us a link to the live page, or:
- Load up the page that's giving you this error in the browser.
- Use the browser's 'view source' to see the source code being served.
- Select all and copy.
- Paste that into a text file, save and attach that text file to a post here.
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Bookmarks