For a complex Flash Project I am working on I need some PHP help.
I would love to be able to echo a given string if the testedFor string contains any of the following...
for example...
the string might be
myString = ADK_II_acoustic_guitar.mp3
And I might want to do something that looks like this (but in php code)_
if myString (contains) = "acoustic_guitar", then do (this other cool stuff)
does that make sense?
I successfully took the mp3 extension off the end, because I know that all my files in question will be .mp3 files...
but I need to remove an undetermined amount of crap from the beginning of each file and get down to the part I need.
Along with acoustic_guitar there will be 11 other things...so could you help with that in mind....
meaning...write the code assuming I know nothing, and there are two strings to look for...
Cuz I am not any good at php yet...and would love help making the multiple if then statement work correctly...