Ok, Nothing has worked yet. I do have the RaiseError set to 1 in my module I created.

My Databases all work, and update correctly with that module, this is the only problem I'm having.

I'm getting even more confused now :o(

Why would everything else work, but those two fields not?
Is there a problem with MySQL using those two table names?(tax_id && aff_url)
Here is the part of my code that is not working completely:
if (defined($in{new_aff}) && $in{new_aff} == 1) { if ($in{tax_id} ne "") { $dbh->do (qq{ UPDATE reg_users SET tax_id = ? WHERE username = + ? }, undef, $in{tax_id}, $username) || error("Error on +MySQL Update: $DBI::errstr"); } $dbh->do (qq{ UPDATE reg_users SET aff_url = ? WHERE username = ? +}, undef, $in{aff_url}, $username) || error("Error on MyS +QL Update: $DBI::errstr"); $dbh->do (qq{ UPDATE reg_users SET aff = ?, aff_su_date = ? WHERE +username = ? }, undef, "yes", $formated_date, $username) || error("Err +or on MySQL Update: $DBI::errstr"); } $dbh->do (qq{ UPDATE reg_users SET html_email = ? WHERE username = + ? }, undef, $in{html_email}, $username) || error("Error on +MySQL Update: $DBI::errstr"); $dbh->disconnect();

I added the || error for each of them. I never errors out.

any other Ideas?

Should I try that trace idea now?

Thx,
Richard.

In reply to Re: Re: MySQL and Perl... Update record Prob by powerhouse
in thread MySQL and Perl... Update record Prob by powerhouse

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.