Web Haunt

Web Development Tutorials & Web Developer Resources

Skip to content
Menu
  • Home
  • PHP
    • Installation and Configuration
  • Live Demos

Category: PHP

Finding all parent categories in MYSQL

Posted onDecember 1, 2016January 3, 2021by WebHaunt Team
In this tutorial We have share how to get all parent categories from child category with a single query in MYSQL I do this: $childCategoryID = 55 SELECT c.* FROM ( SELECT @r AS _id, (SELECT @r := parent_id FROM category WHERE id = _id) AS parent_id, @l := @l + 1 AS level [...]
Read More

How to empty TINYMCE Editor content after AJAX action

Posted onNovember 25, 2016January 3, 2021by WebHaunt Team
We have share How to empty TINYMCE content after AJAX action with jQuery. Use the mceRemoveControl execCommand here. I do this: tinyMCE.init({ selector: "textarea#mceEditorID", }); if ( typeof tinyMCE != 'undefined') { tinyMCE.EditorManager.execCommand('mceFocus', true, 'mceEditorID'); [...]
Read More

How to dynamically adding and removing TinyMCE 4 editor

Posted onNovember 24, 2016January 3, 2021by WebHaunt Team
We have share How to dynamically adding and removing TinyMCE 4 editor.First configure TinyMCE editor. Step 1: Following line add in HTML page Step 2: Then add textarea in html page Step 3: and then add js code As of TinyMCE 4 the methods to remove and reinitialize an instance: To add editor to a texta [...]
Read More

How to install Laravel 5 with Xampp – Windows

Posted onNovember 23, 2016January 3, 2021by WebHaunt Team
Let us see how to install laravel on windows xmapp. for this we need some server requirements, some of the software installation. Following requirements: PHP >= 5.6.4 OpenSSL PHP Extension PDO PHP Extension Mbstring PHP Extension Tokenizer PHP Extension XML PHP Extension Below are the steps of How to install laravel on windows [...]
Read More

Redirect all HTTP requests to HTTPS automatically using .htaccess and web.config

Posted onAugust 17, 2016January 3, 2021by WebHaunt Team
Redirect HTTP to HTTPS automatically with Linux-based and Windows. Using the following code in your .htaccess (Linux & cPanel) and web.config (Windows) file automatically redirects visitors to the HTTPS version of your site. Linux & cPanel: Linux-based accounts use .htaccess files to handle redirection. RewriteEngine On RewriteC [...]
Read More

Top Most Magento Interview Questions and Answers

Posted onJune 5, 2016January 3, 2021by WebHaunt Team
Magento is a rich-feature e-Commerce open-source platform written in PHP, which provides online traders with an exceptional flexibility and control over the content, look and functionality of their e-commerce store.Magento offers powerful marketing, search engine optimization, and catalog-management tools. Question 1: What architecture is [...]
Read More

Posts pagination

Previous Page Page 1 Page 2 Page 3 Next Page

Latest Posts

  • Create Pagination Using PHP and MySQL
  • To-Do List Application Using PHP, MySQL and AJAX
  • NodeJS Login and Registration Rest API with MongoDB
  • Build a Contact Form in CodeIgniter with Email
  • Compress Image Before Upload using PHP
Copyright © 2016 - 2026 WEBHAUNT.COM All rights reserved.