parse error, unexpected T_LNUMBER

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
pelegk2
Forum Regular
Posts: 633
Joined: Thu Nov 27, 2003 5:02 am
Location: Israel - the best place to live in after heaven
Contact:

parse error, unexpected T_LNUMBER

Post 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]
User avatar
n00b Saibot
DevNet Resident
Posts: 1452
Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:

Post 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:
User avatar
pelegk2
Forum Regular
Posts: 633
Joined: Thu Nov 27, 2003 5:02 am
Location: Israel - the best place to live in after heaven
Contact:

thnaks alt

Post by pelegk2 »

:)
Post Reply