Matching Strings in Files
Moderator: General Moderators
Matching Strings in Files
I have files i need to match up with database records. I've already got the data pulled into a file and am showing it on a web page. But now I need to match a string from the data i've pulled to part of a filename from a separate directory so i can put a link to that file next to the record it matches. can someone tell me how this might be done?
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
file_exists(), is_file() among others could be of use.