Hey,
Im having some trouble with the PHP code in the Shopping Cart tutorials. I have a VPS running cPanel where I upload to test my code.
Im running PHP Version 5.3.21.
I essentially keep getting this error:
Parse error: syntax error, unexpected T_FOREACH in /home/user/public_html/oop/shopping/html/index.php on line 6
Im currently up to video 3 in the series. I checked my code for bugs, and even uploaded the finished project to see whether its something im doing, but I always get the error above.
Was wondering if someone could help?
Thanks in advance