i want to add some php code on my theme showthread part...
how can do it??
You don't. What php code are you trying to execute. Your best bet is either an iframe or making a plugin.
i don't want to use iframe because iframe is not a solution of my things ..
edit the template rather than the theme