Skip to content

Commit d3973bd

Browse files
authored
Merge pull request #5 from deenison/development
Launching v1.0.1
2 parents 7fccb27 + afc7a96 commit d3973bd

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@ I found this one to be simple enough to explain very basically via example a cou
88

99
Happy coding :)
1010

11+
## Summary
12+
- [Le problematic](https://github.com/deenison/Basic-MySQL-PHP-AJAX-Example#le-problematic)
13+
- [Proposed solution](https://github.com/deenison/Basic-MySQL-PHP-AJAX-Example#proposed-solution)
14+
- [What this example do](https://github.com/deenison/Basic-MySQL-PHP-AJAX-Example#proposed-solution)
15+
- [Requirements](https://github.com/deenison/Basic-MySQL-PHP-AJAX-Example#proposed-solution)
16+
- [Getting started](https://github.com/deenison/Basic-MySQL-PHP-AJAX-Example#getting-started)
17+
- [Contributing](https://github.com/deenison/Basic-MySQL-PHP-AJAX-Example#contributing)
18+
- [License](https://github.com/deenison/Basic-MySQL-PHP-AJAX-Example#license)
19+
1120
## Le problematic
1221
There's a simple form with a couple of nested `<select>`'s. So everytime the main element has its selected option changed, a couple of other elements have their options changed as well on the fly. One of these children is special because each of its options have their own image to be displayed alongside a short description.
1322
Long story short then, the `<option>`s from one of these `<select>`-children should be dinamically created based on a specific DB (in MySQL) query using as one of the query arguments the parent-selected value.
@@ -35,6 +44,13 @@ And yes, it differs a little bit from the proposed solution, but I think ilustra
3544
- `PHP`: `^5.6`
3645
- `MySQL`: `^5.4`
3746

47+
## Getting started
48+
- Download/clone the latest version of the project from `master` branch;
49+
- Let's call `$projectPath` the place where you gonna run the project;
50+
- Create a database (using UTF-8 encoding) and import the file `$projectPath/misc/dump.sql` into it;
51+
- Edit `$projectPath/constants.php` to match your local environment settings;
52+
- That sould be it.
53+
3854
## Contributing
3955
Feel free to contribute in any way by [creating an issue](https://github.com/deenison/Basic-MySQL-PHP-AJAX-Example/issues/new), cloning the project, creating your own branches and sending pull requests or even [saying hello](https://github.com/deenison).
4056

0 commit comments

Comments
 (0)