Related Articles
Best way to loop through a PHP mysql Resultset
If you want to loop throuh the mysql result set twice then use below way. $result = mysql_query(“SELECT * FROM my_table”);while($row = mysql_fetch_assoc($result)) {// inside the loop} The problem is, if you want to loop through the same result set again, you will get an error because the internal pointer is currently at the end […]
How to find duplicate rows in Sql or Mysql
You can find duplicate rows in the mysql table, just use below select query, to find duplicate rows in Oracle, Sql, Mysql, DB2. SELECT columnName, COUNT(*) as countFROM selectedTableGROUP BY columnNameHAVING COUNT(*) > 1; You came from below query:how to find duplicate rows in sql server 2008how to find duplicate rows in sql and deletehow […]
How to Get Current Page URL Using PHP
If you would like to know from which page the request has come from using post Method then there is a simple PHP script can solve your issue. Get Current Page URL Using PHP Check below script to Get Current page using PHP function getCurrentURLPage() { $s = empty($_SERVER[“HTTPS”]) ? ”: ($_SERVER[“HTTPS”] == “on”) ? […]