I need to resend a value from a previous html form in another form so that it can be used as part of a prepared SQL statement.
However, I do not really want to use html hidden input due to potential security problems.
Anyone know of another method?
Thanks.
Temporarily save the values in a session.
Hidden HTML inputs shouldn't cause any security problems though, as long as you properly validate them (again) before putting them in the database.
You can save it in the session, then the user would never see the value.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With