Should i learn PHP or ASP?

I started learning recently html, css and javascript basic stuff. I want now to start learning back end and try make an ecommerce site.
I tryed PHP but i found it extremely hard and messy. The syntax i hate it, also is annoying with filtering variables to not run scripts inside and security. I managed to insert and read data into MySql database, but to make login, logout and session it kills my brain.
I saw ASP.net and seems way much cleaner and easier to use. Should i let go PHP and go for ASP.net? What you recomand for a newbie in web development?
Was this page helpful?