I have the following if statement
if (isset($part->disposition) and ($part->disposition=='attachment'))
Problem is the second part of that statement, i also need to include this;
($part->disposition=='inline')
The statement needs to work if the disposition is attachment or if its inline.
doesn’t that work: