I'm looking to only return rows where the first two letters of $_attributeSelection["backp1"] are GB
I'm sure I need to use strpos somehow, but Im not sure how to use it with my code can anyone show me how?
<?php foreach ($selections as $_selection) { $_attributeSelection = $_selection->attributes(); ?> <tr> <td> <?php echo $_attributeSelection["name"] ?> </td> <td> <b><?php echo $_attributeSelection["backp1"] ?></b><br/> </td> </tr>