Thank you so much Chiheb Ben Jemia On Tuesday, September 6, 2016 at 4:23:38 PM UTC+2, Chiheb Ben Jemia wrote: > > hi > > see this tuto : > > http://angularcode.com/demo-of-a-simple-crud-restful-php-service-used-with-angularjs-and-mysql/ > > for json files access see > > http://www.bewebdeveloper.com/tutorial-about-how-to-parse-json-file-with-php > > > On Monday, September 5, 2016 at 6:07:40 PM UTC+1, Jérém wrote: >> >> Hello everyone, >> >> I have to save users in a database ( json file is fine for me, easy to >> anderstand & work with ) after an input. I don't know how to make the >> server part in .php to join angular call & the database with the POST. >> >> Can someone just link me some good example or just explain to do that ? >> >> Here is where i am : >> >> vm.submitForm = function() { >> var data=vm.user2; >> /* post to server*/ >> $http.post(url, data); >> alert('our form is amazing'); >> >> }; >> >> >>
-- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
