in_category and Replace


I want to run this code but is not work. I want to change the title for diffrent category.


if (in_category(7754) ) {

echo ‘<h3 style=”padding:0 0 4px 38px;color:#999;background:url(“htt://”:wink: repeat-x scroll left top transparent”>'<?phpthe_title();?>'</h3>’;

} else {

echo ‘<h3 style=”padding:0 0 4px 38px;;color: #999;” class=”greensingle”>'<?phpthe_title();?>'</h3>’;



i think problem is <?phpthe_title();?>. What can i do to work this code.

Thank you