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!
hi everyone. I started a new job as a php developer for a company in Az. I am updating all their websites. I am currently converting their code away from Dreamweaver standards but i ran into a problem. I opened up a php file in dreamweaver...made a change and uploaded it...now all i get is an error Parse error: syntax error, unexpected '}' in /home/xxxxxxxxxxxxx/main.php on line 1 but it was the file i originally downloaded and all i did was delete a picture from the interface...I have been testing and this is happening with EVERY SINGLE PHP file i use....I was wondering if anyone here knew what the problem is and ow to fix it??!?!?!?!?!?!
I am so salty over this right now i dont even have words hahaha
I figured it out...Dreamweaver will demolish your code depending on the sysntax...php4 code with dreamweaver cs3 or 8 for example will add in brackets and remove them depending on the layout...also will convert <? codes to <?php tags and vice versa...thanks anyway!