|
| Iniciado por guest, 22,ene. 2016 11:13 - 7 respuestas |
| |
| | | |
|
| |
| Publicado el 22,enero 2016 - 11:13 |
Good morning guys,
This is probably an easy one for the gurus amongst you.
I want to run a php script to capture edit boxes currently displayed on a page.
Stingbuild is used to create the html button when the page is displayed BUT if any edit box page is changed, I want it to update the html button AND run a php script to log the change.
I hope that I have made sense.
TIA
Mike |
| |
| |
| | | |
|
| | |
| |
| Publicado el 22,enero 2016 - 13:47 |
Hi Mike,
I'm not sure what the question is, to be honest... But I'll play anyway: ScriptExecute ?
Best regards |
| |
| |
| | | |
|
| | |
| |
| Publicado el 22,enero 2016 - 14:06 |
Fabrice,
Thanks for responding. I did look at scriptexecute but I don't think it will do what I need.
I have 2 html buttons created to fire either paypal or worldpay. I need a way to log easily which button was pressed and add it to a mysql table as a log.
Thanks again,
Mike |
| |
| |
| | | |
|
| | |
| |
| Publicado el 22,enero 2016 - 20:27 |
Hi
if you want to add a record to mysql, a simple hadd will do the work... But Im' not sure what you call a HTML button, as I'm doing the paypal thing from a very simple regular buton
Best regards
-- Fabrice Harari International WinDev, WebDev and WinDev mobile Consulting
Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM (open source)
More information on http://www.fabriceharari.com
On 1/22/2016 8:06 AM, cardcoder wrote:
Fabrice,
Thanks for responding. I did look at scriptexecute but I don't think it will do what I need.
I have 2 html buttons created to fire either paypal or worldpay. I need a way to log easily which button was pressed and add it to a mysql table as a log.
Thanks again,
Mike |
| |
| |
| | | |
|
| | |
| |
| Publicado el 23,enero 2016 - 15:40 |
Why not use wlanguadge for that ? It is far easier to code that with wlaguage than raw php.
regards Allard |
| |
| |
| | | |
|
| | |
| |
| Publicado el 24,enero 2016 - 17:27 |
Hi Allard,
I would like to us wlanguage BUT -
I have 2 HTML controls on the screen linked to individual CMD Controls. I want to write to the log whichever html control was used.
I use stringbuild to create the html buttons. This works exactly correctly for both buttons.
How do I write the code to the log as to which html button was pressed. I can see which one was pressed because it brings up the new webage - but I am struggling to write the log correctly.
I am obviously missing something simple.
Regards,
Mike |
| |
| |
| | | |
|
| | |
| |
| Publicado el 25,enero 2016 - 10:26 |
Hmm I see
So you create a html button in a html control. I can see your problem. There is no button click event for that.
Just my thoughts
Maybe you can make a webserveice or webdev php page with no page and call that form the code in the html control. The code gets a parameter and runs a proces ( saving your log ) and stops working
You can call it like this: http:// yourpage.com? param
regards Allard |
| |
| |
| | | |
|
| | |
| |
| Publicado el 26,enero 2016 - 13:26 |
Hi Allard,
As it fires the button..alias, I am trying to add something to the click of the button.
Still trying... so if I work it out, I will post the result. Don't hold your breath!!
Mike |
| |
| |
| | | |
|
| | | | |
| | |
|