Hi There,
I am using a php script to output information about hockey players and I have a couple rows that don’t always have data so are empty. They are below, they are Draft Year: Draft Position: and Drafted Year: I want for them to not appear on players who don’t have these fields filled. Thanks!
[php]Print “
Print “
”.$row[‘FirstName’]." “.$row[‘LastName’].” <img src=“http://www.cnghl.org/cnghldb/nation/".$row[‘NationID’].".gif”>
Print “
Print “
Print “
$DOB = $row[DOB]; //dd.mm.yyyy
$user_date = new DateTime($DOB);
$curr_date = new DateTime();
$age_cal = $curr_date->diff($user_date);
Print “
Print "<td style='vertical-align:top;'width=‘275’ rowspan=‘10’>
Print “
Print “
Print “
Print "
Print “
Print “
Print "
Print "
Print “
Print “
Print "
Print "
Print “
Print “
Print “
Print “
Print “
Print “
Print “
Print "
Print “
"