MySQL Forums
Forum List  »  Newbie

Re: DB Not Updating
Posted by: Barry Galbraith
Date: March 22, 2024 09:02PM

I put this file on my webserver.
if (!$_POST)
	$display = 
<form  method=\"post\" enctype=\"multipart/form-data\">
<li id=\"li_15\" >
<label class=\"description\" for=\"element_15\">Property Identification Number: </label>

<input id=\"element_15\" class=\"myDiv\" type=\"text\" maxlength=\"30\" name=\"propertypin\" Required />
<input type=\"submit\" value=\"Save\"/>
echo $display;


I opened it with my browser, filled in the input box, Saved it, and got this
    [propertypin] => 123 456 7890 1111 1111
So, it works for me.
You don't happen to have two inputs with the same name of propertypin do you? POST will send the last one of the two. If the second one is blank, ....

Good luck,

Options: ReplyQuote

Written By
March 21, 2024 04:57PM
March 21, 2024 10:43PM
March 22, 2024 07:45AM
Re: DB Not Updating
March 22, 2024 09:02PM
March 22, 2024 02:58AM
March 22, 2024 11:47AM

Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.