Hi
i had a little bit of trouble. the function works 100% but i was placing the function in the patricia/search_list.php andto have username displayed in the printpdf i was placing the function also in printpdf/index.php
![Sad :(](https://forums.osclasspoint.com/Smileys/osclass-emoji/sad.gif)
i didnt realise i had a problem until i check the search list page and seen it was broke.
i now know, you cant have the same function running in 2 seperate places
![Undecided :-\](https://forums.osclasspoint.com/Smileys/osclass-emoji/undecided.gif)
lol error " Cannot redeclare "
so i placed the function in the patricia/functions.php
deleted all other occurrences
then i had to place this inside /printpdf/template.php
require_once('../../themes/patricia/functions.php');
both search list and printpdf are now working with no errors
![Cheesy :D](https://forums.osclasspoint.com/Smileys/osclass-emoji/cheesy.gif)
i am doing some learning this weather lol
Cheers
Chris