I have this code in my PHP for an IF statement. What I am trying to do is include a database item in the "print". Anyways, here is the code:
<?
if ( $arse_squad_rs->Fields("match_sub_on") == 1 ) {
print "(Sub On)";
}
?><?
if ( $arse_squad_rs->Fields("match_sub_off") == 1 ) {
print " (Sub Off)";
}
?>
What I am trying to add is after it prints (Sub On), I'd like it to get from the database the minute the sub came on, in the field 'match_sub_on_min'
So it'd look like (Sub On) 74