Right now I have a link that is being created by a get variable that is "www.kingsoap.com/?r=therandymajor" and I would like it to just display/be able to use the address "www.kingsoap.com/therandymajor" in other words remove the ?r= from the address bar. It looks more professional and I would prefer it. I am not sure how to achieve this.
You would use mod_rewrite to accomplish this by mapping /therandymajor to ?r=therandymaor. The alternative would be to create a subdirectory called /therandymajor and add an index.php file to it.
__________________
As of PHP 5.5, the MySQL library has been officially deprecated. It is recommended to move to either MySQLi or PDO libraries for your mysql connectivity. See here for help choosing which interface you prefer: http://php.net/manual/en/mysqlinfo.api.choosing.php