Recent content by Bob Cabroni

  1. B

    How to create a php array?

    I have this part of code: $model = $row['v_products_model']; $smallid = substr($model, 0, 4); What I need is to create a code to compare what the $smallid value is and associate this value with a name. Something like this: If $smallid = '5456' then $mpg = 'Mouse' If $smallid = '5434' then...
Back
Top