Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parse error, i can't see

Status
Not open for further replies.

windminstreel

Programmer
Oct 12, 2004
3
0
0
Hello everyone,

I'm trying to solve a parse error problem but i can't fix it can someone help me.

Code:
echo "                          <td style=\"background:#CCCCCC\"><input type=\"checkbox\" name=\"v_".$array[$r]."\""; if($inserts[0][adres$array[$r]][0][0] == "t"){ echo" checked";} echo " onclick=\"javascript:verander('v_".$array[$r]."')\"></td>\n";

this is the parse error:

Parse error: parse error, unexpected T_VARIABLE, expecting ']' in /usr/local/apache/htdocs/ldap/userrights.php on line 277

thanks in advance,

Windminstreel
 
[adres$array[$r]] ???

echo " <td style=\"background:#CCCCCC\"><input type=\"checkbox\" name=\"v_".$array[$r]."\""; if($inserts[0][red][adres$array[$r]][/red][0][0] == "t"){ echo" checked";} echo " onclick=\"javascript:verander('v_".$array[$r]."')\"></td>\n";
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top