Forum Moderators: coopster

Message Too Old, No Replies

Php Error

Please Help

         

Arsench

2:17 pm on May 5, 2006 (gmt 0)

10+ Year Member



PLEASE WHO CAN FIND THE SYNTAX HERE I CAN NOT UNDERSTAND

<input class=\"".$button_class."\" type=\"button\" name=\"FindUser\" OnClick=\"window.open('".$search_page."lang=".LANGUAGE_ID."&FN=".$form_name."&FC=".$tag_name."', '', '','','','','scrollbars=yes,resizable=yes,width=760,height=500,top='+ Math.floor((screen.height - 560)/2-14)+ ',left='+ Math.floor((screen.width - 760)/2-5));\" value=\"".$button_value."\">

ChadSEO

3:21 pm on May 5, 2006 (gmt 0)

10+ Year Member



Arsench,

It looks like you're missing the $ in front of LANGUAGE_ID.

Chad

Arsench

3:48 pm on May 5, 2006 (gmt 0)

10+ Year Member



thank you very much friend I've posted that $ but its continuing to be yellow as a syntax error

coopster

2:48 pm on May 8, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Actually
LANGUAGE_ID
looks as if it may be a CONSTANT so therefore it would not require having a dollar sign in front of it to make it a variable. The syntax of this little snippet seems to be OK, but this is only a partial piece of the expression.