Parse error: parse error, unexpected T_LNUMBER, expecting T_VARIABLE

RegisterLogin
Parse error: parse error, unexpected T_LNUMBER, expecting T_VARIABLE
Post Description: Parse error: parse error, unexpected T_LNUMBER, expecting T_VARIABLE
Tags: Parse, error:, parse, error,, unexpected, T_LNUMBER,, expecting, T_VARIABLE
This Post Was Posted On Feb 29, 2008 By web hosting #1314
today i was getting this error in my php script and i could not figure out why i was getting it.



this is what i had in the code:



				for($i =0; $i < count($img); $i++) {

if($img[$l] == $_FILES['uploaded']['name']){
$_FILES['uploaded']['name'] = false;
}
}





can you catch the error. i know where it is.. this is how it should look like



				for($i =0; $i < count($img); $i++) {

if($img[$i] == $_FILES['uploaded']['name']){
$_FILES['uploaded']['name'] = false;
}
}


can you guess where the error is?







Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
tony
#1743 1
i usually get this errror when i miss something

for example the other day i had this:

if($strlen($tring) > 45) {

well as you can see, i need to add another ) in my code, so that's why i was getting this errorl
Feb 28, 2008 Reply Report abuse
©2011 Webune Forums - Tue Dec 20, 2011 4:39 am
Powered by: Webune Forums V3