![]() |
![]() |
||||||
|
|||||||
| Tags: creating, datagrid, timetable, using |
![]() |
|
|||
|
Hi, can anyone help me with this problem?
I want to do a class timetable displaying on datagrid. I have a CSV file which shows all the staff's timetables together. The picture shown below: Picture can be seen in here: http://i192.photobucket.com/albums/z...s/Picture5.png The datagrid which I do now manage to draw individual staff timetable from the database of all staff table. What I did for this is using PHP and <mx:request> in flex. The following are some codes which I had did to draw individual staff's timetable. In Flex: <mx:HTTPService id="allData" url="http://localhost/timetableTest/src/scripts/ti metable.php" result="timetableHandler(event)" method="POST" showBusyCursor = "true"> <mx:request xmlns=""> <staffid>{selectedProfileID.staffid}</staffid> </mx:request> </mx:HTTPService> In PHP: $staffid = mysql_real_escape_string($_POST["staffid"]); $sql = "SELECT * FROM timetable WHERE staffid = '$staffid'"; What is display: Picture can be seen in here http://i192.photobucket.com/albums/z...s/Picture2.png Current, what it displaying now is all the result return from the PHP file. Meaning it is not sort into the correct time and day. It should sort into the time and day such as this example: Picture can be seen in here: http://i192.photobucket.com/albums/z...s/Picture1.png Anyone can help? Thanks!Text |
| Sponsored Links |
|
|||
|
"fypstudent" <webforumsuser@macromedia.com> wrote in message news:g9c4cv$96r$1@forums.macromedia.com... > Is there another way beside the calendar as the source code they given was > too complicating and I was unsure asI am still a beginner in Flex. Thanks > for the help. This might point you in the right direction... http://flexdiary.blogspot.com/2008/0...es-in-as3.html |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise