# Variables loaded from PHP have extra space?

**URL:** <https://forum.kirupa.com/t/variables-loaded-from-php-have-extra-space/222589>\
**Category:** flash\
**Created:** [April 15, 2007, 3:47am UTC](https://forum.kirupa.com/t/variables-loaded-from-php-have-extra-space/222589 "2007-04-15T03:47:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RonH](https://avatars.discourse-cdn.com/v4/letter/r/bcef8e/32.png) [@RonH](https://forum.kirupa.com/u/RonH)\
**Post date:** [April 15, 2007, 3:47am UTC](https://forum.kirupa.com/t/variables-loaded-from-php-have-extra-space/222589/1 "2007-04-15T03:47:51Z")

</div>

I am not sure why it is doing it, but I don’t want the extra space.

Inside the php file, I have this:

```auto
echo "t=tobaltambulant";
echo "&ip=".$ip;

```

When I loadVariables() from the php file, then set the dynamic text field to display:

```auto
"Hey, the var is " + t + "."
//output: Hey, the var is tobaltambulant.

```

Thats what I want, but when I try it with the txt variable:

```auto
"Hey, the var is " + ip + "."
//output : Hey, the var is [ip variable here]

.

```

Why do I get that carriage return added in? Better yet, how can I prevent/get rid of it?
