Check variable is like a value from another variable in PHP
<p>I need to check the value of $variable1 is LIKE another variable2.</p>

<p>There could be something else after a dash but i can't predict what.  Is there any kind of wildcard idea in PHP like sql? LIKE variable% ?</p>
