# Need help! calling php from flash

**URL:** https://forum.kirupa.com/t/need-help-calling-php-from-flash/154555
**Category:** Uncategorized
**Created:** [July 11, 2005, 1:14am UTC](https://forum.kirupa.com/t/need-help-calling-php-from-flash/154555 "2005-07-11T01:14:43Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jjvalles](https://avatars.discourse-cdn.com/v4/letter/j/f07891/32.png) [@jjvalles](https://forum.kirupa.com/u/jjvalles)
#### Post date: [July 11, 2005, 1:14am UTC](https://forum.kirupa.com/t/need-help-calling-php-from-flash/154555/1 "2005-07-11T01:14:43Z")

</div>

Hey if anybody know php and FLash Please help… I am trying to put an image from my database into a Flash MC using this php. The php works great in html, but i want that image to show up in a flash mc. If anybody knows how to call this script in flash that would be extremely helpful. Thanks in advanced.

Here is the php file content:

$products\_query = tep\_db\_query(“select pd.products\_name, p.products\_image from " . TABLE\_PRODUCTS . " p left join " . TABLE\_PRODUCTS\_DESCRIPTION . " pd on p.products\_id = pd.products\_id where p.products\_status = ‘1’ and p.products\_id = '” . (int)$HTTP\_GET\_VARS[‘pID’] . “’ and pd.language\_id = '” . (int)$languages\_id . “’”);  
$products = tep\_db\_fetch\_array($products\_query);
