# Post data true php to ionic

**URL:** <https://forum.ionicframework.com/t/post-data-true-php-to-ionic/37274>\
**Category:** uncategorized\
**Created:** [November 17, 2015, 6:18pm UTC](https://forum.ionicframework.com/t/post-data-true-php-to-ionic/37274 "2015-11-17T18:18:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![niklas\_u\_f](https://avatars.discourse-cdn.com/v4/letter/n/f19dbf/32.png) [@niklas\_u\_f](https://forum.ionicframework.com/u/niklas_u_f)\
**Post date:** [November 17, 2015, 6:18pm UTC](https://forum.ionicframework.com/t/post-data-true-php-to-ionic/37274/1 "2015-11-17T18:18:26Z")

</div>

My regular server is in C:\inetpub\wwwroot,  
and where i have ionic app is in: C:\Users\Niklas\AppData\Roaming\myapp-6

My php is used for wwwroot, so how can i do to use php for C:\Users\Niklas\AppData\Roaming\myapp-6.  
I have no ideé how to do.

Can i move all the files from C:\Users\Niklas\AppData\Roaming\myapp-6 to wwwroot.

I don´t now what to do ☹

---

<div class="post-metadata">

**Author:** ![gmarziou](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/gmarziou/32/13327_2.png) [@gmarziou](https://forum.ionicframework.com/u/gmarziou)\
**Post date:** [November 17, 2015, 6:38pm UTC](https://forum.ionicframework.com/t/post-data-true-php-to-ionic/37274/2 "2015-11-17T18:38:54Z")

</div>

Sorry but your question is not clear.  
Are you using ionic to build a web app or a mobile app?  
What’s teh relation between Ionic and PHP?

---

<div class="post-metadata">

**Author:** ![niklas\_u\_f](https://avatars.discourse-cdn.com/v4/letter/n/f19dbf/32.png) [@niklas\_u\_f](https://forum.ionicframework.com/u/niklas_u_f)\
**Post date:** [November 17, 2015, 6:44pm UTC](https://forum.ionicframework.com/t/post-data-true-php-to-ionic/37274/3 "2015-11-17T18:44:39Z")

</div>

Hello

I´m trying to send data true ionic and php.  
I now php but i´m new in ionic.

All my ionics and cordova, git, node is installed in c:/users/Niklas/appdata/roaming/folder  
I start ionic with ionic serve and go to id: 10.10.1.193:8100

My real server is a windows server with iis and php  
And if i need to go to that ine i use: localhost or www.

To my question, how can i do to add post with ionic and save it in mysql.  
Or can i have all the code under the same folder in wwwroot.

Hope you understand it better now.
