HELP (parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' )

8 views
Skip to first unread message

smita

unread,
Feb 1, 2008, 1:13:52 AM2/1/08
to phpPayPal
Hello ,,

i got this error , while just trying to post the phpPayPal.php


parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or
`'}'',

i have read all the previous post for this parse error ,, the
possible solution given was that

to write "public class phpPayPal { " instead of "class phpPayPal { "

but that also didnt work , it also gave an parse error

please HELP!!!!!!! me for this..





DrewJoh

unread,
Feb 1, 2008, 12:31:03 PM2/1/08
to phpPayPal
Hi Smita,

Can you give me more of the error you're receiving? Does it have a
line number or anything else?

It sounds like you're missing a closing bracket somewhere " } ". But
I don't know where unless it gave you a line number or unless you can
post sample code.

-Drew
Reply all
Reply to author
Forward
0 new messages