Detect link type

3 posts by 2 authors in: Forums > CMS Builder
Last Post: September 8, 2011   (RSS)

Re: [Toledoh] Detect link type

By robin - September 8, 2011 - edited: September 8, 2011

Hey Tim,

I think you'll find this function usefull:
http://php.net/manual/en/function.substr.php

For example, your first if would look something like:
if("http://" == substr($record['link'],0,7))

Hope that helps,
Robin
Robin
Programmer
interactivetools.com

Re: [robin] Detect link type

Thanks Robin!
Cheers,

Tim (toledoh.com.au)