# Help With Flash Form & Php Before I Kill Myself - Please!

**URL:** <https://forum.kirupa.com/t/help-with-flash-form-php-before-i-kill-myself-please/16968>\
**Category:** flash\
**Created:** [March 30, 2003, 11:03pm UTC](https://forum.kirupa.com/t/help-with-flash-form-php-before-i-kill-myself-please/16968 "2003-03-30T23:03:57Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kelly\_Nunes](https://avatars.discourse-cdn.com/v4/letter/k/b5e925/32.png) [@Kelly\_Nunes](https://forum.kirupa.com/u/Kelly_Nunes)\
**Post date:** [March 30, 2003, 11:03pm UTC](https://forum.kirupa.com/t/help-with-flash-form-php-before-i-kill-myself-please/16968/1 "2003-03-30T23:03:57Z")

</div>

Hey Everyone,

I’m sure hoping that there is someone out there who can help get this flash form and php script to function right. I just can’t seem to get it to work no matter what I do. I have attached to the files here so you can take a look. Maybe there’s something I’m missing and one of you could point it out - please!

Thanks,

Kelly :\*(

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 30, 2003, 11:10pm UTC](https://forum.kirupa.com/t/help-with-flash-form-php-before-i-kill-myself-please/16968/2 "2003-03-30T23:10:04Z")

</div>

php should be:

```php

mail("kellynunes@lvcm.com", $subject, "Name :name
Email :".$email."
Comments :."$comments."", "From: PHPMailer
Reply-To: $email
X-Mailer: PHP/" . phpversion());

```

and for each variable do this:

```php

$Variable = $_POST['variable'];

```

here, read this: [http://www.kirupaforum.com/forums/showthread.php?s=&threadid=17604](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=17604)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 30, 2003, 11:21pm UTC](https://forum.kirupa.com/t/help-with-flash-form-php-before-i-kill-myself-please/16968/3 "2003-03-30T23:21:18Z")

</div>

Jubba,

Thanks for the help, but I’m still a bit confused. Where do I list the variables within the script - before or after that first line? Please let me know.

Thanks,

Kelly: eye:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 30, 2003, 11:32pm UTC](https://forum.kirupa.com/t/help-with-flash-form-php-before-i-kill-myself-please/16968/4 "2003-03-30T23:32:57Z")

</div>

before the mail() line.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 30, 2003, 11:40pm UTC](https://forum.kirupa.com/t/help-with-flash-form-php-before-i-kill-myself-please/16968/5 "2003-03-30T23:40:10Z")

</div>

Ok Jubba,

tell me if this is correct:

```php

<?php
$firstName = $_POST['firstName'];
$lastName = $_POST['lastName'];
$visitorAddress = $_POST['visitorAddress'];
$visitorCity = $_POST['visitorCity'];
$visitorState = $_POST['visitorState'];
$visitorZip = $_POST['visitorZip'];
$daytimePhone = $_POST['daytimePhone'];
$eveningPhone = $_POST['eveningPhone'];
$visitorEmail = $_POST['visitorEmail'];
$loanType = $_POST['loanType'];
mail("kellynunes@lvcm.com", $subject, "Name :name
Email :".$email."
Comments :."$comments."", "From: PHPMailer
Reply-To: $email
X-Mailer: PHP/" . phpversion());
?>

```

Please let me know if I’m right or if I have screwed up.

Thanks,

Kelly

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 30, 2003, 11:46pm UTC](https://forum.kirupa.com/t/help-with-flash-form-php-before-i-kill-myself-please/16968/6 "2003-03-30T23:46:35Z")

</div>

that should work, but where is the varialbe $comments coming from? it just appears…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 30, 2003, 11:49pm UTC](https://forum.kirupa.com/t/help-with-flash-form-php-before-i-kill-myself-please/16968/7 "2003-03-30T23:49:28Z")

</div>

Uhhhhh, I have no idea what your referring to? However, I have tested this \*\*\*\* thing and it still doesn’t work. I am not receiving anything in my e-mail, no test e-mails, not errors messages, no nothing. Riiiiiiiiiip, there goes a clump of hair!!!

Kelly

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 30, 2003, 11:52pm UTC](https://forum.kirupa.com/t/help-with-flash-form-php-before-i-kill-myself-please/16968/8 "2003-03-30T23:52:21Z")

</div>

you don’t define $comments anywhere…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 30, 2003, 11:53pm UTC](https://forum.kirupa.com/t/help-with-flash-form-php-before-i-kill-myself-please/16968/9 "2003-03-30T23:53:26Z")

</div>

Jubba,

I think I know what variable you’re talking about now, but I am not sure why it’s there or what it’s for. In the script that you posted it’s in there too. Should I remove that variable from the script since it seems to have no meaning or use? Please advise before I jump out my window…

Thanks,

Kelly
