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
[...]
Category: PHP
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');
[...]
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 [...]
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 [...]
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 [...]
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 [...]