# Variables from Flash to PHP to mySQL acting weird?

**URL:** <https://forum.kirupa.com/t/variables-from-flash-to-php-to-mysql-acting-weird/224920>\
**Category:** programming\
**Created:** [May 7, 2007, 7:27am UTC](https://forum.kirupa.com/t/variables-from-flash-to-php-to-mysql-acting-weird/224920 "2007-05-07T07:27:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![awesty](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@awesty](https://forum.kirupa.com/u/awesty)\
**Post date:** [May 7, 2007, 7:27am UTC](https://forum.kirupa.com/t/variables-from-flash-to-php-to-mysql-acting-weird/224920/1 "2007-05-07T07:27:29Z")

</div>

I am making a high score script. A name variable and score variable are taken from flash and put into php then inserted into a table. The score works fine but for the name column it always just comes up as ‘\<TEXTFORMAT LEA’ when I check the table in phpMyAdmin. Here is the code I am using for the query:

```auto
mysql_query("INSERT INTO `highscores` ( `id` , `name` , `score` )
VALUES (
NULL , '$name', '$score'
)");

```

Anyone know what might be going wrong?

Thanks. 😃
