We have good success integrating code and xara web designer 10 premium web pages.... but we have a need we cant seem to find a solution for.
Experts, experienced users and programmers please take a look and see if you can help us with a solution or an idea.

What we need to do...
1. click on an icon
2. Run a php script
3. Display the php script output in a placeholder

Linking the icon to script is not an issue, embedding the code in a placeholder is not an issue.
Non of the standard xara option we are aware of will result in what we need to do which is to do both.

In case this was as clear as mud.............
I'm sure everyone has logged into an online account by selecting a login icon that typically displays a login form to float on top of the page (@high z value) and after login is successful a "Logged in" message is displayed on the page header or elsewhere.

our roadblocks............

We are trying to adhere to the constraint of maintaining the xara automated page export function which as you know requires that we keep any code integration within the xara page and produced by xara insert functions or other page integration tools/options.

For those that might say "just do a separate page outside of xara... I agree this so simple without the xara protocol but keeping xara as a web dev. tool allows us to use interns ect. to do basic and even advanced front end work and then pass the project to the programmers. Jumping off the xara train is something I want to avoid if possible.

Thanks for any help
Ron