Jump to content

[SOLVED] Strip name


timmah1

Recommended Posts

I have a form that inserts domain names into a database field.

 

The domain name could be simple (http://www.test.com/hi/) or complex (http://cgi.ljx.com/cgi-bin/memo/show?articleid=hunton,23)

 

When I pull this information from the database, how can I just show the domain (http://www.test.com or http://www.ljx.com)?

 

Thanks in advance!

Link to comment
https://forums.phpfreaks.com/topic/108008-solved-strip-name/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.