# LoadVars questions

**URL:** <https://forum.kirupa.com/t/loadvars-questions/184372>\
**Category:** flash\
**Created:** [April 4, 2006, 6:29pm UTC](https://forum.kirupa.com/t/loadvars-questions/184372 "2006-04-04T18:29:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marws](https://avatars.discourse-cdn.com/v4/letter/m/7ea924/32.png) [@marws](https://forum.kirupa.com/u/marws)\
**Post date:** [April 4, 2006, 6:29pm UTC](https://forum.kirupa.com/t/loadvars-questions/184372/1 "2006-04-04T18:29:48Z")

</div>

I´ve never used loadVars before, after reading the help I put togheter this piece of code, but I still do not understant it completelly

```php
function send() {
     _root.play();
     var wordResposta:LoadVars = new LoadVars();
     var resp:LoadVars = new LoadVars();
      email.word = strWord;
     email.whichOne = id;
     email.clue = dica;
     email.answer = acertou;
        email.sendAndLoad("/cgi-bin/site_index.pl?page=quizz_put", wordResposta, "POST");
    
 }

```

Do I really need two LoadVars??wordResposta and resp

what is wordResposta use in the url I am using to call the script??

is it correct to put another variable(email) before the ones i am using to store the info??

the variables word, wichOne, clue and answer are equal to variables I have in flash, from what i understand these variables should store these values and send them to the script, correct??

In my script i need to have variables with the same names(word,whichOne,clue, answer) to receive the info??

I am using mx professional

I am lost if someone could help it would great

thanks

---

<div class="post-metadata">

**Author:** ![JoshuaJonah](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/joshuajonah/32/1775_2.png) [@JoshuaJonah](https://forum.kirupa.com/u/JoshuaJonah)\
**Post date:** [April 4, 2006, 6:34pm UTC](https://forum.kirupa.com/t/loadvars-questions/184372/2 "2006-04-04T18:34:17Z")

</div>

wow. I think you need to read through the tutorials or look at a good book like “PHP5 for Flash” by David Powers.
