Hello I have a very simple code
Website
I believe David's answer is the proper way to do this, but it can be simplified like this:
parse_url($aProfileInfo['Website'], PHP_URL_SCHEME)==''?'http://'.$aProfileInfo['Website']:$aProfileInfo['Website']