Jump to content

Recommended Posts

any ideas why my form wont insert?  :-\

 

<form method="post" id="form1" action="<?php echo KT_escapeAttribute(KT_getFullUri()); ?>">
        <table cellpadding="2" cellspacing="0" class="KT_tngtable">
          <tr>
            <td class="KT_th"><label for="profile_address">Profile_address:</label></td>
            <td><input type="text" name="profile_address" id="profile_address" value="<?php echo KT_escapeAttribute($row_rsmember_profile['profile_address']); ?>" size="32" />
                <?php echo $tNGs->displayFieldHint("profile_address");?> <?php echo $tNGs->displayFieldError("member_profile", "profile_address"); ?> </td>
          </tr>
          <tr>
            <td class="KT_th"><label for="profile_postcode">Profile_postcode:</label></td>
            <td><input type="text" name="profile_postcode" id="profile_postcode" value="<?php echo KT_escapeAttribute($row_rsmember_profile['profile_postcode']); ?>" size="32" />
                <?php echo $tNGs->displayFieldHint("profile_postcode");?> <?php echo $tNGs->displayFieldError("member_profile", "profile_postcode"); ?> </td>
          </tr>
          <tr>
            <td class="KT_th"><label for="profile_selfsummary">Profile_selfsummary:</label></td>
            <td><input type="text" name="profile_selfsummary" id="profile_selfsummary" value="<?php echo KT_escapeAttribute($row_rsmember_profile['profile_selfsummary']); ?>" size="32" />
                <?php echo $tNGs->displayFieldHint("profile_selfsummary");?> <?php echo $tNGs->displayFieldError("member_profile", "profile_selfsummary"); ?> </td>
          </tr>
          <tr>
            <td class="KT_th"><label for="profile_certifications">Profile_certifications:</label></td>
            <td><input type="text" name="profile_certifications" id="profile_certifications" value="<?php echo KT_escapeAttribute($row_rsmember_profile['profile_certifications']); ?>" size="32" />
                <?php echo $tNGs->displayFieldHint("profile_certifications");?> <?php echo $tNGs->displayFieldError("member_profile", "profile_certifications"); ?> </td>
          </tr>
          <tr>
            <td class="KT_th"><label for="profile_licenses">Profile_licenses:</label></td>
            <td><input type="text" name="profile_licenses" id="profile_licenses" value="<?php echo KT_escapeAttribute($row_rsmember_profile['profile_licenses']); ?>" size="32" />
                <?php echo $tNGs->displayFieldHint("profile_licenses");?> <?php echo $tNGs->displayFieldError("member_profile", "profile_licenses"); ?> </td>
          </tr>
          <tr>
            <td class="KT_th"><label for="profile_paymentterms">Profile_paymentterms:</label></td>
            <td><input type="text" name="profile_paymentterms" id="profile_paymentterms" value="<?php echo KT_escapeAttribute($row_rsmember_profile['profile_paymentterms']); ?>" size="32" />
                <?php echo $tNGs->displayFieldHint("profile_paymentterms");?> <?php echo $tNGs->displayFieldError("member_profile", "profile_paymentterms"); ?> </td>
          </tr>
          <tr>
            <td class="KT_th"><label for="profile_educatonal_background">Profile_educatonal_background:</label></td>
            <td><input type="text" name="profile_educatonal_background" id="profile_educatonal_background" value="<?php echo KT_escapeAttribute($row_rsmember_profile['profile_educatonal_background']); ?>" size="32" />
                <?php echo $tNGs->displayFieldHint("profile_educatonal_background");?> <?php echo $tNGs->displayFieldError("member_profile", "profile_educatonal_background"); ?> </td>
          </tr>
          <tr>
            <td class="KT_th"><label for="profile_workonsite_1">Profile_workonsite:</label></td>
            <td><div>
                <input <?php if (!(strcmp(KT_escapeAttribute($row_rsmember_profile['profile_workonsite']),"1"))) {echo "CHECKED";} ?> type="radio" name="profile_workonsite" id="profile_workonsite_1" value="1" />
                <label for="profile_workonsite_1">Yes</label>
              </div>
                <div>
                  <input <?php if (!(strcmp(KT_escapeAttribute($row_rsmember_profile['profile_workonsite']),"0"))) {echo "CHECKED";} ?> type="radio" name="profile_workonsite" id="profile_workonsite_2" value="0" />
                  <label for="profile_workonsite_2">No</label>
                </div>
              <?php echo $tNGs->displayFieldError("member_profile", "profile_workonsite"); ?> </td>
          </tr>
          <tr>
            <td class="KT_th"><label for="profile_rate">Profile_rate:</label></td>
            <td><input type="text" name="profile_rate" id="profile_rate" value="<?php echo KT_escapeAttribute($row_rsmember_profile['profile_rate']); ?>" size="32" />
                <?php echo $tNGs->displayFieldHint("profile_rate");?> <?php echo $tNGs->displayFieldError("member_profile", "profile_rate"); ?> </td>
          </tr>
          <tr>
            <td class="KT_th"><label for="profile_expertise">Profile_expertise:</label></td>
            <td><input type="text" name="profile_expertise" id="profile_expertise" value="<?php echo KT_escapeAttribute($row_rsmember_profile['profile_expertise']); ?>" size="32" />
                <?php echo $tNGs->displayFieldHint("profile_expertise");?> <?php echo $tNGs->displayFieldError("member_profile", "profile_expertise"); ?> </td>
          </tr>
          <tr>
            <td class="KT_th"><label for="profile_misc">Profile_misc:</label></td>
            <td><input type="text" name="profile_misc" id="profile_misc" value="<?php echo KT_escapeAttribute($row_rsmember_profile['profile_misc']); ?>" size="32" />
                <?php echo $tNGs->displayFieldHint("profile_misc");?> <?php echo $tNGs->displayFieldError("member_profile", "profile_misc"); ?> </td>
          </tr>
          <tr class="KT_buttons">
            <td colspan="2"><input type="submit" name="KT_Insert1" id="KT_Insert1" value="Insert record" />
            </td>
          </tr>
        </table>
        <input type="hidden" name="profile_id" id="profile_id" value="<?php echo KT_escapeAttribute($row_rsmember_profile['profile_id']); ?>" />
        <input type="hidden" name="profile_member_id" id="profile_member_id" value="<?php echo KT_escapeAttribute($row_rsmember_profile['profile_member_id']); ?>" />
      </form>

Link to comment
https://forums.phpfreaks.com/topic/105560-form-wont-insert/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.