mchtower

mchtower


  • Name: [not set]
  • Favorite Languages: [not set]
  • Website: [not set]
  • Location: [not set]
  • About Me: [not set]

Recent Comments

  • Using Flex, PHP, and JSON to Modify a MySQL Database
    05/21/2009 - 14:23

    No problem. I never did figure this out, I ended up modifying my code (based on your advanced updating tutorial) to update only those rows for which data actually changed and that works fine.

  • Using Flex, PHP, and JSON to Modify a MySQL Database
    05/03/2009 - 21:47

    Here is a code snippet I'm having trouble with:

    private function ProcessExpenses():void
              {
                   
                    var objSend:Object = new Object();
                    var dataString:String = JSON.encode(employeeexpensesArray.toArray());
                   
                    dataString = escape(dataString);
                   
                    objSend.setEmployeeExpenses = "true";
                   
                    Set_Employee_Expenses.url="xtest.php"+getRand();
                           
                    objSend.jsonSendData = dataString;                     
                    Set_Employee_Expenses.send(objSend);
              }

    When objSend.jsonSendData = dataString the php code is not executed. If I set objSend.jsonSendData = "text" everything works fine. The data is being pulled from the database and displayed in a datagrid with no problems.

    Any idea what could be causing this problem?

Sponsors