I get that message when i try to run my script, but if i disable an if statement (code below) then my code functions correctly...
Expand|Select|Wrap|Line Numbers
- if($specs[0] == "DT")
- {
- $angle = $specs[1];
- $rating = $specs[4];
- if($angle == "00" || $angle == "30")
- {
- $drive = "0 or 30 deg";
- }
- elseif($angle == "20" || $angle == "+20")
- {
- $drive = "+ or - 20 deg";
- }
- }