Hello Folks,
I am new to flex development. I was going through a video tutorial that showed how to connect database with flex.
The steps i followed, according to the tutorial were
1. Create a database in wamp and import an sql file (provided by the author)
2. Create a Flex Project and set server side application language as PHP
3. Create a data grid using datawizard, make a connection, select table and primary key and finish
4. Run Application
While the author;s application shows entries from database, i having followed the same steps get the error
Connection error: Error #1088: The markup in the document following the root element must be well-formed.
I not added any line. All done through data wizard...
Can any one help?
Views
Replies
Total Likes
I can't stand using wizards for this kind of thing.
These links will help you have a better understanding of using Flex, PHP, MySQL and JSON:
http://www.switchonthecode.com/tutorials/flex-php-tutorial-transmitting-data-using-json
http://www.switchonthecode.com/tutorials/using-flex-php-and-json-to-modify-a-mysql-database
http://www.switchonthecode.com/tutorials/flex-php-json-mysql-advanced-updating
If this post answers your question or helps, please mark it as such.
Views
Replies
Total Likes
I guess you are using wamp or mamp. Referred to as *amp in the following.
Please download the PHP 5.2.9, and install it. And tell *amp to use PHP 5.2.9.
I have not been able to find out why PHP 5.3 does not work, but 5.2.9 does work.
Views
Replies
Total Likes
Bonjour
Many thanks !
I was about to give up because of this 1088 error ... your solution worked it out, at least for me.
I guess it will really help all newbies like me who recently installed their WAMP server, and try and learn based on youtube tutorials developed on older versions than PHP 5.30 !
Would nevertheless be happy to understand why it works.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies