There are many type of solutions, but the best found is, <button type="reset" onclick="location.href=' www.example.com </button> this works well rather then type="submit" in this case. Because, If you are..
Read More » Posted on 2016-04-13 02:32:38HTML
This error will get in the following case, Jquery ajax returns HTML content. synchronous XMLHttpRequests by setting Jquery request as <b>async:false</b> To fix it, set <b>async:true</b> or just remove async part in Jque..
Developers or SEOs handling 404 redirection by many ways. The proper way is to include the 404-error page and send 404 status code. Then, stop further code execution by exit or die functions...
Read More » Posted on 2016-04-09 06:24:08PHP 404 Redirection
IF Else condition in query is quite interesting and it is very useful in some cases. It reduces two queries to single one. Syntax IF(Statement, TRUE block, FALSE block) It works like usual If Else condition..
Read More » Posted on 2016-04-09 03:52:47MySQL SQL
If Else is slightly similar to OR condition in MySQL. But, here it checks the Statement and go to TRUE Block or FALSE Block. Syntax WHERE IF(Statement, TRUE block, FALSE block) Example Here is the..
Read More » Posted on 2016-04-06 03:12:04MySQL SQL
This is a simple query to increment row value in MySQL. And this eliminates the need of code in php or other server side scripts. Syntax UPDATE tablename SET column_name=column_name + N where clause..
Read More » Posted on 2016-04-05 03:01:27MySQL SQL