I am trying to grab the title and put it in a paypal form select option

why not pass the title as another hidden input? doesn’t seem like much reason for a select element when you only have 1 option.

<input type="hidden" name="on0" value="<?php the_title();?>">

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)