Probbaly Answered

Working on the TD Stats .. I am trying to get a top 5 per pilot to show on his/her profile page ..

I tried going through the TD stats post already but was getting confused with the back and forth posts lol

Here is my code (without the slashes) ..

/// <?php echo ‘Your last 5 landings ‘.TouchdownStatsData::top_landings(’$userinfo->pilotid’); ?> ///

Not sure why, but it doesn’t work (shows no data and breaks template) .. it works if i use an ‘average’ landing but not last 5

As a side note, every other stat i pull works fine .. this one confuses me

(Yes i have the tpl set to pull 5 )

Please help and sorry for a possibly already asked question)

<?php echo 'Your last 5 landings '.TouchdownStatsData::top_landings($userinfo->pilotid); ?>

Would probably work - you shouldn’t need the quotes.

Yes I missed the quotes, bur still no joy

Is it possibly a tpl error? I’m sure this coding (to grab and show the data) is right

I’m open to all suggestions at this point (I know its simple i just cant see it)

EDIT –> what is really throwing me off is the fact that the whole tpl gets broken .. blank data i can fix .. but this is weird