No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
3 Posted Topics
Hello to all, i have my problem using php in updating mysql database, i have codes here. my problem is, when i click update, all data update altogether, i dont know what is wrong on my codes, your help is much appreciated. <?php if(isset($_POST['req_code'])){ $servername = "localhost"; $username = "root"; … | |
I have my codes here, i cant update my database using this codes please help. if(isset($_GET['submit'])){ $servername = "localhost"; $username = "root"; $password = ""; $dbname = "elev8groupportal"; $conn = new mysqli($servername, $username, $password, $dbname); // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } //$req_code = $_POST['req_code']; … | |
Re: Good day, I have problem with my codes, when i update my database, all records update altogether, someone help me about this, see my codes here or click the image for the visual[Click Here](https://www.dropbox.com/s/q5ym74a2xsombia/qqqq.png?dl=0) <?php mysql_connect("localhost", "root", "") or die("Connection Failed"); mysql_select_db("elev8groupportal")or die("Connection Failed"); if(isset($_POST)){ $req_id= $dn1['req_code']; $query = "UPDATE … ![]() |
The End.