Flash Database: Text File
Flash Database Step By Step Tutorial - Part 1: In this series, we will talk about how to build database application flash based. What relation with PHP? We place flash in position as client side and PHP as server side.
Flash application, as client side, send data or request to server. Then, PHP as server application, processes data or request. One of task of PHP is update database and send back to flash application.
In, this series, we use text based as database. For practice, we build polling flash application.
Now, create a file named "polling.txt" within www/test/flash. Enter following text:
title=What database kind do you like? choice1=Plain Text choice2=XML choice3=MySQL choice4=MsSQL choice5=Oracle choice6=SQLite choice7=PostgreSQL choice8=Ms Access choice9=DB4O choice10=Db2 votes1=0 votes2=0 votes3=0 votes4=0 votes5=0 votes6=0 votes7=0 votes8=0 votes9=0 votes10=0
Question the polling placed at line:
title=What database kind do you like?
The next is available choice:
choice1=Plain Text choice2=XML choice3=MySQL choice4=MsSQL ...
Last, initial value for each choice:
votes1=0 votes2=0 votes3=0 votes4=0 ...
| Series this article: Flash Database: Text File Flash Database: PHP for Reading Data Flash Database: Saving Data at Server Side Flash Database: Switching Task at Server Side Flash Database: Starting Flash Flash Database: Making Flash Polling Interface Flash Database: Giving Action to Submit Polling Flash Database: Trying Submiting Vote Flash Database: Preparing Polling Result Interface Tag: flash, database, text, file Category: PHP Application Post : March 24th 2008 Read: 2,477 blog comments powered by Disqus |
