1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

php help

Discussion in 'PHP' started by red_fiesta, Apr 23, 2007.

  1. #1
    In php

    I want to change this

    <? if ($row['Player_Picture']) { ?>
    <tr>
    <td class="customerDetailsTitle" style="text-align:center; padding-left:5px;" colspan="2"><img src="laget<? print $row['Player_Picture'] ?>"></td>

    </tr>
    <? } ?>

    This code works means that the pic will only show if there is data in the field Player_Picture.

    I need to make it work so that

    The picture doesn’t show if the field is null or the field is equal to spelarFoton/

    Please can you advise?
     
    red_fiesta, Apr 23, 2007 IP
  2. yourihost

    yourihost Well-Known Member

    Messages:
    1,708
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    115
    #2
    yourihost, Apr 23, 2007 IP
  3. red_fiesta

    red_fiesta Peon

    Messages:
    125
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    perfect

    thaks
     
    red_fiesta, Apr 23, 2007 IP