Discussion Forum using Flash.

Discussion Forum allows one to discuss any topic.  The user can post a new topic , send replies to existing topics.

Discussion Forum uses Flash cs3, PHP and MySql for accomplishing this task. Flash communicates with PHP which inturn communicate with mysql database for retrieving datas from database. The main components are

1)Flash User Interface

used to create the database
creating a table with required fields

php communicate between the flash and Mysql database, Php files fetches data, insert data to database. This include new post and reply to an existing posts


3 Responses to Discussion Forum using Flash.

  1. Amer Sabri says:

    How can I connect to a database and retrieve data to flash using PHP. Currently I have problem in retrieving data from php to flash.I am getting an error

    Error #1009: Cannot access a property or method of a null object reference.

    Any help is highly appreciated..

  2. Soumya Vinod says:

    You have to add .”&” in order for flash to display the data php should pass it in this format, else flash will display this error.

    $dbhost = ‘localhost’;
    $dbuser = ‘root’;
    $dbpass = ”;

    $conn = mysql_connect($dbhost, $dbuser, $dbpass) or die (‘Error connecting to mysql’);

    $dbname = ‘detailst’;

    $query = “SELECT * FROM Addressbook”;
    $result = mysql_query($query);

    while($row = mysql_fetch_array($result, MYSQL_ASSOC))

    $var1 .=”Name=” . $row[‘name’] . “&”;
    $var1 .=”Address=” . $row[‘address’] . “&” ;
    $var1 .=”Age=” . $row[‘age’] .”&” ;
    echo $var1;

  3. Amer Sabri says:

    Thanks, now it worked……………

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: