# Flash 8 - Trying to intergrate simple PHP file

**URL:** <https://forum.kirupa.com/t/flash-8-trying-to-intergrate-simple-php-file/185029>\
**Category:** flash\
**Created:** [April 10, 2006, 1:26pm UTC](https://forum.kirupa.com/t/flash-8-trying-to-intergrate-simple-php-file/185029 "2006-04-10T13:26:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Skipster07](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@Skipster07](https://forum.kirupa.com/u/Skipster07)\
**Post date:** [April 10, 2006, 1:26pm UTC](https://forum.kirupa.com/t/flash-8-trying-to-intergrate-simple-php-file/185029/1 "2006-04-10T13:26:24Z")

</div>

I am trying to intergrate a PHP file (which does work when directly accessed). The PHP file shows a list of shows in a table from a MySQL database. I have used the Flash, PHP and MySQL tutorial to help me, I’ve done the ActionScript file, the text box and the include function but when I upload the SWF file and go to it the text box is blank, no PHP file is displayed. When I did a preview in Flash, in the output box it said Malformed #include directive but it is same as the one in the tutorial except with a different file name. What is wrong?

---

<div class="post-metadata">

**Author:** ![virusescu](https://avatars.discourse-cdn.com/v4/letter/v/8edcca/32.png) [@virusescu](https://forum.kirupa.com/u/virusescu)\
**Post date:** [April 10, 2006, 1:46pm UTC](https://forum.kirupa.com/t/flash-8-trying-to-intergrate-simple-php-file/185029/2 "2006-04-10T13:46:09Z")

</div>

make sure that you used the correct sintax for the include… and also make sure you DON’T put a **[color=red];[/color]** sign after that include line.
