Both are used for web application development. Php is flexible,free of cost to use,simple and platform independent where as ASP.net isnot free of cost. if you want to use ASP you have to use IIS and if you want to use IIS you have to buy Windows.
PHP supports huge number of database where as ASP supports only Access and MSSQL. They both support ODBC equally.
Sorry, but you are not allowed to view signatures , please Register or Login