dimanche 1 février 2015

I am new in ionic. I have a form which users will fill, I want to receive the data from the users and put it in my mysql database for manipulation


This is my form





<form >
<div class="list" style="margin-top:2em;" >
<label class="item item-input item-floating-label">
<span class="input-label">Surname</span>
<input type="text" placeholder="Surname">
</label>
<label class="item item-input item-floating-label">
<span class="input-label">Other Name(s)</span>
<input type="text" placeholder="Other Name(s)" ng-model="oname">

</label>
<label class="item item-input item-floating-label">
<span class="input-label">Contact</span>
<input type="text" placeholder="Contact">
</label>
<label class="item item-input item-floating-label">
<span class="input-label">Message</span>
<textarea placeholder="Message"></textarea>
</label>
<button class="button button-full button-positive" ng-click="">
Submit
</button
</div>
</form>



And this is my controller


.controller('PrayerRequestCtrl', function($scope, $http,$ionicLoading) {


})





Aucun commentaire:

Enregistrer un commentaire