The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Form Input Not Working?
Rayj00
post Mar 22 2024, 09:28 AM
Post #1





Group: Members
Posts: 6
Joined: 1-June 20
Member No.: 27,369



I have a form with 20 inputs. They all work except one.
By work I mean subsequently, a php script can read the $_POST
and update a mySQL database. But the following one is not
working, as the subsequent $_POST is empty?

For some reason the html looks like it's not working.

I have the following html:

<li id="li_15" >
<label class="description" for="element_15">Property Identification Number: </label>

<div>
<input id="element_15" class="myDiv" type="text" maxlength="30" name='propertypin' Required />
</div>
</li>

The subsequent $propertypin = ($_POST['propertypin']); echo ("\n<h2>Propertypin = $propertypin </h2>\n"); returns nothing,
while the other 19 $_POST's are fine.

This is pretty simple stuff but I am pulling my hair trying to fix it!!

Any ideas?

Thanks,

Ray
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic
Rayj00   Form Input Not Working?   Mar 22 2024, 09:28 AM
Christian J   The following works for me: <form method=...   Mar 22 2024, 11:52 AM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th May 2024 - 04:45 PM