# How can I prevent the data type from changing from int to something else in flash

**URL:** <https://forum.kirupa.com/t/how-can-i-prevent-the-data-type-from-changing-from-int-to-something-else-in-flash/330383>\
**Category:** Uncategorized\
**Created:** [January 11, 2013, 1:09pm UTC](https://forum.kirupa.com/t/how-can-i-prevent-the-data-type-from-changing-from-int-to-something-else-in-flash/330383 "2013-01-11T13:09:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajoo](https://avatars.discourse-cdn.com/v4/letter/a/ebca7d/32.png) [@ajoo](https://forum.kirupa.com/u/ajoo)\
**Post date:** [January 11, 2013, 1:09pm UTC](https://forum.kirupa.com/t/how-can-i-prevent-the-data-type-from-changing-from-int-to-something-else-in-flash/330383/1 "2013-01-11T13:09:06Z")

</div>

[COLOR=#333333][FONT=Verdana]Dear friends,

My second question on this forum and i really need your help. I am integrating flash with php and using the php to download some data from a sql server into the flash. Everything works fine except that the data that is stored as an integer in SQL does not load into flash as an integer. I fail to understand why. I tried to type cast it into a number and it still does not work. Anyone has any ideas on this.

Thanks for any help from anyone.  
Regards  
[/FONT][/COLOR]  
[RIGHT][COLOR=#094C8A][FONT=Verdana][Top](http://www.php-forum.com/phpforum/viewtopic.php?f=2&t=21770#top)[/FONT][/COLOR][/RIGHT]  
[COLOR=#094C8A][FONT=Verdana][/FONT][/COLOR]
