can we or can we not use php script in <tag onclick=php() or onselect=php()>..like syntax instead of javascript() to achieve dynamic refreshing and avoid using button submit?
Well I'm pretty sure the answer is that you can't do that sort of thing. PHP just isnt that sort of language. Nearest you could get would be to use Javascript as: onclick="window.location='xyz.php';"
You can not, because PHP runs Serverside, not clientside.