# Flash doesn't read php-mysql variable

**URL:** https://forum.kirupa.com/t/flash-doesnt-read-php-mysql-variable/302743
**Category:** Uncategorized
**Created:** [January 6, 2010, 7:53pm UTC](https://forum.kirupa.com/t/flash-doesnt-read-php-mysql-variable/302743 "2010-01-06T19:53:09Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![brli](https://avatars.discourse-cdn.com/v4/letter/b/77aa72/32.png) [@brli](https://forum.kirupa.com/u/brli)
#### Post date: [January 6, 2010, 7:53pm UTC](https://forum.kirupa.com/t/flash-doesnt-read-php-mysql-variable/302743/1 "2010-01-06T19:53:09Z")

</div>

Hi everyone here and please help me with this strange problem. I am trying to send a php variable with one field from mysql. When I print the php variable on my php page it outputs the field, but when I try to send it to flash it doesn’t output anything.

Here is my php script that tries to send a mysql field to flash and there nothing is shown. It works on my php page, it outputs the mysql field.  
$product=$result[‘product’];  
$pro=$product;  
$pro = “&pro=”.$pro."&"; //~ make it a flashable variable  
echo $pro; “\<input type=‘hidden’ pro=”.$pro." value=‘English’\>"; //~ spit it out

If I give the $product variable another value, for example $product=(“this is the value for the variable”);  
than flash is working perfectly.

Does anyone has any idea why flash doesn’t output my mysql field?

And by the way I am using loadVariablesNum from flash side.

Please help :hugegrin:

Thanks everyone for trying to help me.
