conditions in a pdf report

I can put conditions in a pdf report?
Let me explain:
I want that if the record in the database is equal to 1 I insert an image.

if ($ fuel == ‘1 ‘)
{
$ fuel = ("<img src=’…/_lib/img/deposito1.gif’>");
}

No where I can include it if you can.

thanks

Look under Events in the PDF Report Menu.