PHP and Ionic 2


#1

hi guys

Maybe is not the right place to ask this question i hope i can find help here
I am starting with an ionic 2 app (type script) and i need to connect with php file so far
In my php i have many function :

for example :

function1(x,y){ … return number;}
function2(number from perivous function){ … return flag } and this flag return to my app

so if i need to call the both fuction within the same php file how i can do it and it is necessary the name of variable in the php side must be the same when th do the json step in application

Thank in advance


#2

maybe look into a PHP framework, or atleast look into how frameworks do routing.

laravel.com is a great framework for PHP


#3

i will see thank you for kindest reply :blush: