Hi!
I've been following some PHP tutorials online and when I copy/paste certain examples from the tutorial to my server, I get errors.
I doubled checked the code from the tutorial.
I used two different servers.
I manually set the upload mode to ASCII using two different FTP programs.
I used two different code editing applications.
I made sure I was saving the files as UTF-8.
I used Safari and Firefox browsers.
I made a sacrifice.
Nothing changed, I still got errors.
Someone on these forums then uploaded the same files to their server and everything compiled correctly, no errors.
So I'm completely lost as to what could be going wrong. My only guess at this point is maybe php is installed/set incorrectly. It's a wildcard, because I used two servers. But hey.
Any help would be great. I was making so much progress and then I tried uploading an example of if-elseif-else.
Here is my original post with the html/php code
Clayton