Updating a row in sql using php

Rated 4.1/5 based on 966 customer reviews

Scrolling down, it appears that the div tag of the old row was removed.

We are well expertise with PHP CRUD operations by accessing My SQL via PHP logic.

mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); $sql="SELECT * FROM $tbl_name WHERE date='4/5/2012'"; $result=mysql_query($sql); // Count table rows $count=mysql_num_rows($result); ? PHP (Processing Form) // Connect to server and select database.But, step 2, 3 is not required for deleting multiple rows.Instead, we can show a Javascript popup to ask for confirmation of delete.And, it will look like, These values will be passed as an array of user ids to the PHP page.With these selected checkbox values, the form is submitted via Javascript.

Leave a Reply