Everybody! This is important. In a few days, these forums will be moving over to using the totally sweet Discourse platform. To ensure this migration happens smoothly with no loss of content, these forums are currently in a read-only mode. I do apologize for the inconvenience.

There is never a good time to turn the forums off for an extended period of time, but I promise the new forums will be a billion times better. I'm pretty sure of it.

See you all on the other side in a few days, and if you have any (non-technical) questions, please e-mail me at kirupa@kirupa.com. For technical questions, try to find a tutorial that corresponds to what you are looking for and post in the comments section of that page.


Results 1 to 7 of 7

Thread: php flash and mysql

  1. #1

    php flash and mysql

    Hello all great coders,

    Here is the second hurdle I am facing while trying to learn flash, php and mysql .I am trying to display the “section_title” in the flash ( Kindly view the database details). The name of the database is “flash_test” and the table name is “stiedata”.

    I attached herewith the fla, the respective php files and the database details in the .txt file. Can anybody have some time to look into it where I am going wrong?

    One more thing is there any method to know that the php scripts I am trying contain an error. I tried with wamp installed in my pc.

    Please help me.



    Last edited by worthless; September 8th, 2009 at 10:17 PM. Reason: not answered

  2. #2
    Hello Mr. Worthless,

    Just so you know, most people don't like downloading .zip files from forums. I think you'll get a lot better luck if you just put all your individual files out there.

    Proud Montanadian
    You want a toe? I can get you a toe... Hell, I can get you a toe by three o'clock this afternoon, with nail polish.

  3. #3
    Removed for no response at all.
    Last edited by worthless; September 8th, 2009 at 10:18 PM. Reason: NO POSITIVE RESPONSE AT ALL.

  4. #4
    The first thing you'll want to do is run your PHP file manually (as opposed to having Flash read from it) and see if it prints out the correct information. From what I can see in the post above, it should print out the ids and titles of each entry in your table in the LoadVars format. This will tell you whether your PHP code is correct, and whether it is set up correctly on your server.
    Wait, what?

  5. #5
    Thanks Voetsjeba for your quick reply. Actually I am new bee here and what I do so far is that in my WAMP ( local server) I copied all the files along with the swf file( www folder) and test the swf in a browser and it did not print ids or titles. Dose it means that my php file is wrong. Shall be glad if you take a look at my codes and give me some assistance so that I can overcome this one and learn something from you.

    Once again many thanks for your quick reply.


  6. #6
    Waiting for some reply from anyone.

  7. #7
    Thanks deanpowel71

    Can YOU please explain what does it mean "Firstly try running the PHP file manually" Do I have to run the php file in a browser and to see whether it will reflect all the information I need. Actually it connects one database now for that how can I test it. Can u please give some light in this matter and instruct me as I am new in php and mysql.
    Thanks for the response.

    Last edited by worthless; September 5th, 2009 at 01:08 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Home About kirupa.com Meet the Moderators Advertise

 Link to Us


Copyright 1999 - 2012