I'm sorry about not being more specific.
here is the code with the line numbers.
#Selecting parents name to identify as volunteer. 35 if ($parent eq "Father") 36 { 37 $sub_parent = "Mother"; 38 $sth = $dbh->prepare ("select Father from Roster where + User = \'$user\'"); 39 $sth->execute (); 40 41 $name = $sth->fetchrow_array; 42 } #end if Father 43 else 44 { 45 $sub_parent = "Father"; 46 $sth = $dbh->prepare ("select Mother from Roster where + User = \'$user\'"); 47 $sth->execute (); 48 49 $name = $sth->fetchrow_array; 50 } #end else Mother 51 52 if ($name eq ""){ 53 $sth = $dbh->prepare ("select $sub_parent from Roster +where User = \'$user\'"); 54 $sth->execute (); 55 56 $name = $sth->fetchrow_array; 57 58 } #end chk for not parent if statement. 59 60 print $query->h1({-align=>'center'},"THANK YOU FOR SIGNING UP +$name"); 61
I am certain it has something to do with returning an empty string from my sql as well but I don't know what that something is

In reply to Re: (Ovid) Re: uninitialized value in concatenation by mnlight
in thread uninitialized value in concatenation by mnlight

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.