# If variable = null then dont report in email

**URL:** <https://forum.kirupa.com/t/if-variable-null-then-dont-report-in-email/41008>\
**Category:** flash\
**Created:** [January 24, 2004, 4:07pm UTC](https://forum.kirupa.com/t/if-variable-null-then-dont-report-in-email/41008 "2004-01-24T16:07:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lacuna](https://avatars.discourse-cdn.com/v4/letter/l/edb3f5/32.png) [@Lacuna](https://forum.kirupa.com/u/Lacuna)\
**Post date:** [January 24, 2004, 4:07pm UTC](https://forum.kirupa.com/t/if-variable-null-then-dont-report-in-email/41008/1 "2004-01-24T16:07:13Z")

</div>

I’ve made a form in Flash and am about to make the Php form side of it, however, there are a LOT of variables that will need to be entered into the email and I would like to size it down to only report fields that have been filled in.

So say they enter their name into a field , dont enter their phone but then enter their country, I want it to diplay the name on the first line and the country on the second without a blank line inbetween.

Any suggestions? I couldnt find in in the search.

Thanks guys.

~~ Seretha :love:
