joined:Aug 25, 2005
I have a table called survey an in it is a field called URL. I am trying to display on a page just the domain from the URL that is in that field. so http://www.example.com/index.php would equal either www.example.com or example.com (either would be fine, I am not picky) SO far none of my attempts have come close to working, so I am not sure how a I should go about doing this. Any suggestions?
[edited by: jatar_k at 7:01 pm (utc) on Dec. 21, 2005]
[edit reason] examplified [/edit]