A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Retrieve Data From mySQL

  1. #1
    Webmaster Johnny Shiro's Avatar
    Join Date
    Jan 2002
    Location
    Norway |Trondheim
    Posts
    713

    Retrieve Data From mySQL

    I wonder how to retrieve data from a MySQL database, which then is displayed in Flash .

  2. #2
    the other one
    Join Date
    Mar 2001
    Posts
    96
    Johhny,

    Flash cannot talk to a DB directly you need some sort of middleware (ASP, XML, PHP, etc.)

    Flash will post the query to php, which is where all the data is processed,then inturn it will get the data from your db and return it to field/s in flash.

    Have a look at the post AS / PHP / SQL

    Kindest
    Last edited by BarryAllen; 10-21-2002 at 09:27 AM.

  3. #3
    Webmaster Johnny Shiro's Avatar
    Join Date
    Jan 2002
    Location
    Norway |Trondheim
    Posts
    713
    Yeah i know that. And i need to use JSP (Java Server Pages)

    for communication to the database.

    Can you explain me how a .jsp would look to retrieve certain data from a mysql database ?

  4. #4
    Rule to the exception
    Join Date
    Jun 2000
    Posts
    84
    Ok you need the Java MySQL ODBC drivers, then you need to use the classes and interfaces in package java.sql to set up a connection and execute a statement.

    There is a lot more coding overhead involved in JSP pages over PHP and Perl.
    It's all a bit chicken really

  5. #5
    Webmaster Johnny Shiro's Avatar
    Join Date
    Jan 2002
    Location
    Norway |Trondheim
    Posts
    713
    Ok.... i have no clue whatsoever on how to even start and figuring out that Tommy . Any tutorials ?

  6. #6
    Rule to the exception
    Join Date
    Jun 2000
    Posts
    84
    www.jguru.com and java.sun.com are good places to start. You should find tutes on Java, JSP and JDBC there.
    It's all a bit chicken really

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center