quick question: can i use something similar to this shortened code:
or does it have to be more like:
?
funny thing is the first one seems to work but only acknowledges the filenames ending in t not p
Code:
if (strpos($fname, "p.jpg"|"t.jpg") > 0){
or does it have to be more like:
Code:
if ((strpos($fname, "p.jpg") > 0) | (strpos($fname, "t.jpg") > 0){
funny thing is the first one seems to work but only acknowledges the filenames ending in t not p
