I would learn PHP. ASP only works Microsoft platforms, whereas php works on multiple platforms and is open source.
Plus, I've used both and PHP is a lot nicer to work with than ASP (ASP is better for specific things but I find it isn't as flexible)
The best php site with code examples is php.net
There are no sites with homeworks and solutions in php because most universities and schools don't use php to teach intro to programming or object oriented programming.
I would recommend you look up a tutorial video on youtube for php. php is...
This isn't too hard to write if you know php. However, if you use a content management system such as Joomla, Drupal or Wordpress it will have this feature built in. It will also be much easier for you to create/edit your site.
I would learn PHP. ASP only works Microsoft platforms, whereas php works on multiple platforms and is open source.
Plus, I've used both and PHP is a lot nicer to work with than ASP (ASP is better for specific things but I find it isn't as flexible)