Use primary row as noimage.png vs checking with php

Discussion in 'MySQL' started by ernest1a, Jun 25, 2010.

  1. #1
    I have one simple question.

    What is better. To put in table a field primary as noimage.png or to use empty fields and checking with php if field is empty and than assigning value of $image to noimage.png?

    And is it better to use for such example null or not null?

    Thank you
     
    ernest1a, Jun 25, 2010 IP