I am using Openfire(V 3.9.1) server to send notification from PHP to Android. I am receiving message in Android properly. But I am unable to receive and display reply message back to PHP.
- I am using XMPPHP library to send notification message from PHP to openfire server.
- I'm using smack library. Android-to-android is working perfectly.
How do I receive/display messages on browser. Should I use a different library?

You can configure openfire to save messages to mysql database. Then you can either use 'ajax long polling' method or websockets to fetch new records from database and display them on browser. Refer the below links for more details.
Websockets : http://www.html5rocks.com/en/tutorials/websockets/basics/
Ajax long polling PHP : How do I implement basic "Long Polling"?