Page 1 of 1

type of PHP function on javascript

Posted: Wed Aug 27, 2014 2:24 am
by adith visnu

Hi, Appery

mysql_affected_rows(). is this php function executable on javascript?
what I suppose to do?


type of PHP function on javascript

Posted: Wed Aug 27, 2014 2:34 am
by Yurii Orishchuk

Hi Adith,

Please take a look here: https://developer.mozilla.org/en-US/d...

Regards.


type of PHP function on javascript

Posted: Wed Aug 27, 2014 2:57 am
by adith visnu

oh yurii, there is misunderstanding. I'm sorry, I'm not explain my question clearly.

I mean.
On Javascript functions. what I suppose to do to execute an PHP function after I execute an SQL syntax.


type of PHP function on javascript

Posted: Wed Aug 27, 2014 9:23 pm
by Yurii Orishchuk

Hi Adith,

Unfortunatly there is no way use PHP code on client part of the Appery.io App.

But you can use any other http handlers written on PHP like you need.

If you use Appery.io DB there is no SQL request.

Also if you want to do something with Appery.io DB please describe this usecase in details we will help.

Regards.


type of PHP function on javascript

Posted: Thu Aug 28, 2014 1:50 am
by adith visnu

Hi Yurii,

So, if i want to create a workable PHP code on appery, i must create some services on other server. is like that?

i just want to know how i check the table data on database if there is changing data.

if there is data changed, i will execute some services.
else nothing happened

that condition is what I want.

Thanks.


type of PHP function on javascript

Posted: Thu Aug 28, 2014 4:23 am
by Yurii Orishchuk

HI Adith,

Unfortunatly you can not use PHP code within Appery.io.

For these goals you can use server code. This code accept JS only. Please take a look how to work with server code here:

Tutorials with server code:
http://devcenter.appery.io/tutorials/...

Documentation:
http://devcenter.appery.io/documentat...

Regards.


type of PHP function on javascript

Posted: Thu Aug 28, 2014 4:31 am
by adith visnu

Hi Yurii.

thanks for your explanations. I'll try your suggestions.

now, I think this discussion is end.

Thanks Appery