1. How to save data from Form to Database with PHP.
This doesn't have a lot to do with Ext, it's more a PHP related question. However, getting the data from the Form is where Ext could help you. You can intercept a Form submit and relay that result to a php script (asynchronous) which then handles the insertion in the database.
You could also simply have the form submit and handle the form submission without any Ajax.
The form data is stored in a global $_POST array accessible from your .php file. Inserting the data in your database depends a lot on how you wanne go about this.
A simple approach and by no means a scalable one, is to loop through every $_POST variable and generate the (SQL) INSERT queries based on these values. The newest version of PHP provides some very nice functions to allow you to do things like this. I suggest you look into this. (for MySQL http://nl2.php.net/manual/en/ref.mysql.php)
The better approach would be to use some sort of DAO (Data Access Object) - a DAO provides you with an interface that allows you to simply update a dbase table by providing a $_POST array. For example $dao->setFrom($_POST);
In short it is really hard to answer your question since it depends on a lot of things like the database you use, the libraries you use etc. Find some manuals about Database abstraction and DAO, read them and make them your own!
Hi, I'm a newbie in PHP & JS 4 and I need same help.
Did you already find a solution to the problem "Save Form Data To Server with PHP", can you give me an complete example of input form to store data to database in Ext JS 4?.
Sorry if I post in the wrong thread.
Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."