Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3598550
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T20:15:22+00:00 2026-05-18T20:15:22+00:00

i have developed a form to update several fields in a table but upon

  • 0

i have developed a form to update several fields in a table but upon submission it returns an clear page. here is the code that i am using for submission.

$editFormAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
  $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
}

if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "form")) {

    $doa_bits = explode('/', $_POST['doa']);

  $updateSQL = sprintf("UPDATE tbl_personalinjury SET role=%s, driverNo=%s, clientName=%s, address=%s, residedYrs=%s, cntctSolicitor=%s, telephoneHome=%s, telephoneMobile=%s, time=%s, time2=%s, dobDay=%s, dobMonth=%s, dobYear=%s, maritalStatus=%s, job=%s, niNo=%s, doaDay=%s, doaMonth=%s, doaYear=%s, time3=%s, time4=%s, weather=%s, location=%s, policeDetail=%s, accidentDetail=%s, blame=%s, witnessDetail=%s, dName=%s, dAdd=%s, dvMake=%s, dvModel=%s, dReg=%s, dInsurance=%s, tName=%s, tAdd=%s, tvMake=%s, tvModel=%s, tReg=%s, tInsurance=%s, seatbelt=%s, injuries=%s, injuries2=%s, recover=%s, timeoff=%s, loss=%s, expenses=%s, sports=%s, hospital=%s, gpName=%s, gpAddress=%s WHERE id=$client_id",
                       GetSQLValueString($_POST['role'], "text"),
                       GetSQLValueString($_POST['driverNo'], "text"),
                       GetSQLValueString($_POST['clientName'], "text"),
                       GetSQLValueString($_POST['address'], "text"),
                       GetSQLValueString($_POST['residedYrs'], "text"),
                       GetSQLValueString($_POST['cntctSolicitor'], "text"),
                       GetSQLValueString($_POST['telephoneHome'], "text"),
                       GetSQLValueString($_POST['telephoneMobile'], "text"),
                       GetSQLValueString($_POST['time'], "text"),
                       GetSQLValueString($_POST['time2'], "text"),
                       GetSQLValueString($_POST['dobDay'], "text"),
                       GetSQLValueString($_POST['dobMonth'], "text"),
                       GetSQLValueString($_POST['dobYr'], "text"),
                       GetSQLValueString($_POST['maritalStatus'], "text"),
                       GetSQLValueString($_POST['job'], "text"),
                       GetSQLValueString($_POST['niNo'], "text"),
                       GetSQLValueString($doa_bits[0], "text"),
                       GetSQLValueString($doa_bits[1], "text"),
                       GetSQLValueString($doa_bits[2], "text"),
                       GetSQLValueString($_POST['time3'], "text"),
                       GetSQLValueString($_POST['time4'], "text"),
                       GetSQLValueString($_POST['weather'], "text"),
                       GetSQLValueString($_POST['location'], "text"),
                       GetSQLValueString($_POST['policeDetail'], "text"),
                       GetSQLValueString($_POST['accidentDetail'], "text"),
                       GetSQLValueString($_POST['blame'], "text"),
                       GetSQLValueString($_POST['witnessDetail'], "text"),
                       GetSQLValueString($_POST['dName'], "text"),
                       GetSQLValueString($_POST['dAdd'], "text"),
                       GetSQLValueString($_POST['dvMake'], "text"),
                       GetSQLValueString($_POST['dvModel'], "text"),
                       GetSQLValueString($_POST['dReg'], "text"),
                       GetSQLValueString($_POST['dInsurance'], "text"),
                       GetSQLValueString($_POST['tName'], "text"),
                       GetSQLValueString($_POST['tAdd'], "text"),
                       GetSQLValueString($_POST['tvMake'], "text"),
                       GetSQLValueString($_POST['tvModel'], "text"),
                       GetSQLValueString($_POST['tReg'], "text"),
                       GetSQLValueString($_POST['tInsurance'], "text"),
                       GetSQLValueString($_POST['seatbelt'], "text"),
                       GetSQLValueString($_POST['injuries'], "text"),
                       GetSQLValueString($_POST['injuries2'], "text"),
                       GetSQLValueString($_POST['recover'], "text"),
                       GetSQLValueString($_POST['timeoff'], "text"),
                       GetSQLValueString($_POST['loss'], "text"),
                       GetSQLValueString($_POST['expenses'], "text"),
                       GetSQLValueString($_POST['sports'], "text"),
                       GetSQLValueString($_POST['hospital'], "text"),
                       GetSQLValueString($_POST['gpName'], "text"),
                       GetSQLValueString($_POST['gpAddress'], "text"),
                       GetSQLValueString($_POST['driverNo'], "text"));

  mysql_select_db($database_speedycms, $speedycms);
  $Result1 = mysql_query($updateSQL, $speedycms) or die(mysql_error());
}

mysql_select_db($database_speedycms, $speedycms);
$query_accident = "SELECT * FROM tbl_personalinjury WHERE id=$client_id";
$accident = mysql_query($query_accident, $speedycms) or die(mysql_error());
$row_accident = mysql_fetch_assoc($accident);
$totalRows_accident = mysql_num_rows($accident);

any suggestions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T20:15:23+00:00Added an answer on May 18, 2026 at 8:15 pm

    You’re not invoking any functions that output text. Therefore, the page is blank. Simple as that.

    And judging from the fact that the page is blank, it’d be safe to assume that your query successfully executed because it didn’t run die(mysql_error()), which would’ve outputted an error message if there was an error.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have developed a form to update several fields in a table but upon
I had developed one website purely in HTML .I have my form with fields
in my project i have one registration form which is developed in C#.net.to this
I have developed a multithreaded web application that runs in Tomcat. But I cannot
I have a complex jsf page with some widgets developed in PrimeFaces. Up to
I have to develop a semi-transparent form in WPF, but controls should not be
I have a form, originally developed to be used on XP, containing a .NET
I have developed a C# form based application. It consists of a number of
I'm trying to make the following form in JSF 2.0 but a have some
I have form autocomplete code that executes when value changes in one textbox. It

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.