# PHP and LoadVars

**URL:** <https://forum.kirupa.com/t/php-and-loadvars/143616>\
**Category:** Uncategorized\
**Created:** [April 7, 2005, 11:46am UTC](https://forum.kirupa.com/t/php-and-loadvars/143616 "2005-04-07T11:46:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Voursez](https://avatars.discourse-cdn.com/v4/letter/v/b5ac83/32.png) [@Voursez](https://forum.kirupa.com/u/Voursez)\
**Post date:** [April 7, 2005, 11:46am UTC](https://forum.kirupa.com/t/php-and-loadvars/143616/1 "2005-04-07T11:46:08Z")

</div>

Okay ive been reading some of these tutorials on Kirupa, and have a pretty good understanding of it. Im still having some troubles getting my PHP variables into Flash though.

This code in PHP:

```php
$date = date(m);
$time = date(i);

print (textbox_var1=$date);
print (textbox_var2=$time);

```

And Flash:

```auto
loadVariables("php_document.php", this, "GET");

```

And the textboxes in Flash, have the variable names: textbox\_var1 and textbox\_var2. Now i would think that Flash would retrieve the information in the textboxes, and it does, in the first one only… The second textbox doesnt retrieve anything, and in the first it writes: 15textbox\_var2=$time);

Cant Flash handle 2 different prints, or is my PHP the problem?
