This topic is locked

creating a new button and run a code

9/2/2009 4:29:12 AM
PHPRunner General questions
D
danaci author

creating a new button is pressed it to run a code, how can I do?

<input type=button class=button value="abc" onclick="mycode or codesnippet">
How do I,

regards.

A
alang 9/2/2009

Either directly on the visual editor page (click HTML mode button), or add a PHP code snippet and do it from in there using echo statements.

D
danaci author 9/2/2009

dear AlanG,

I creating a button html mode. However, I will relate how the code button.

Can you give me a simple example about it?

regards.

Sergey Kornilov admin 9/3/2009

Take a look at this article that explains how this can be achieved:

http://www.xlinesoft.com/phprunner/docs/email_selected_records.htm