Page 1 of 1

parse error, unexpected T_LNUMBER

Posted: Tue Mar 22, 2005 3:17 am
by pelegk2
i have this code :

Code: Select all

if ($kamut<10) $Set_no2=$P_makat_RAW.",".$productName.",".$_REQUEST['YEZUR_SIDRA'].",".$pan2Letters.",".$date.",".$userName.","99",".$kamut."      \r\n";
i recive an error : "parse error, unexpected T_LNUMBER "
any idea why?
maybe beacuse $kamut is not int?


feyd | Please review how to post code using

Code: Select all

and

Code: Select all

tags. Read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]

Posted: Tue Mar 22, 2005 3:23 am
by n00b Saibot
At first glance...
Do you notice any thing improper here...

Code: Select all

&quote;,&quote;.$userName.&quote;,&quote;99&quote;,&quote;.$kamut.&quote;      \r\n&quote;;
                 ^Here
:wink:

thnaks alt

Posted: Tue Mar 22, 2005 3:29 am
by pelegk2
:)