Re: adding data to mysql table using php code
The action of the form needs to name the php script that will translate the posted data.
And in that script, to avoid sql injection, the posted data needs to run through mysqli_real_escape_string() or, alternatively, build a PREPAREd query.
Edited 1 time(s). Last edit at 11/18/2021 08:36PM by Peter Brawley.
Subject
Written By
Posted
November 17, 2021 10:02PM
Re: adding data to mysql table using php code
November 18, 2021 08:55AM
November 18, 2021 06:13PM
November 18, 2021 08:41PM
Sorry, you can't reply to this topic. It has been closed.
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.