By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,748 Members | 1,570 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,748 IT Pros & Developers. It's quick & easy.

PHP Script Error

P: 1
I downloaded the "refer a friend" file from

There are 3 files:-


The readme.txt file says to make a couple of changes, which I did. However, when I upload the three files to my website and try to run "form.html" I get the following error.

Parse error: parse error, unexpected '-', expecting ',' or ';' in /home/h/y/hypnosiscardiff_co_uk/ on line 20

I am not sure what I need to change now or how to figure it out. I am sure there is just one tiny change to make in one of the three files - but I've simply changed the files as per the instructions in the readme file. I would be grateful for any assistance, as I am a total newbie to this stuff and just wanted to help my clients have some more tools to use and I'm not sure where to go with this one.
Feb 7 '07 #1
Share this Question
Share on Google+
1 Reply

Expert 2.5K+
P: 4,258
Welcome to The Scripts!

I have looked at it and it runs fine with me. So the only way to look at your changes it for you to show the file here.

And don't forget to enclose the code within code tags!! See the Posting Guidelines at the top of this forum for that.

Ronald :cool:
Feb 7 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.