Given two positive numbers as strings. The numbers may be very large (may not fit in long long int), the task is to find product of these two numbers. Examples: Input : num1 = 4154 num2 = 51454 Output…
Category: Php
Roman Number to Integer Example in JAVA, PHP, JS, PYTHON
Given a Roman numeral, the task is to find its corresponding decimal value. Example : Input: IX Output: 9 IX is a Roman symbol which represents 9 Input: XL Output: 40 XL is a Roman symbol which represents 40 Input:…
How to save an html2canvas as an image on the server ?
Image capture of any screen is very easy with html2canvas plugin . You just install this plugin and just create on click function and the image will be captured. But some time developers have to save the image in the…
Find duplicates in an array
Explanation We need to find the duplicate elements in the array in this programme. This can be accomplished with two loops. The first loop selects an element, while the second loop iterates across the array by comparing the selected element…
Country State City Dropdown using Ajax in PHP MySQL
Do you want to create a dependent country-state-city dropdown in your application? I will provide you a free download for PHP ajax-based dependent dropdown code. It loads the data from the database (MYSQL) which depends on the parent entity selected.…
Login customer via Webservice – Prestashop
I wrote an article a few days ago, in which using the webservice of Prestashop , how to use JSON in post method and put method. Prestashop Webservice In Post/Put JSON Data In the body Now in this article, I…
Prestashop Webservice In Post/Put JSON Data In the body
To Post/Put data Prestashop Web service uses XML. If you want to use JSON, you need to modify Webservice and convert JSON to XML or directly JSON to data. This article is on the same topic that how we will use…
HTML to PDF in Javascript using jsPDF
If you are looking for something that can create server side PDF easily then you are at right place. HTML to PDF in JavaScript’s jsPDF is easier than server-side implementation for PDF creation. PDF creation is one of the most…
PrestaShop error Invalid email/password combination
If you are also facing this problem while registering the user then you are at right place. Because in this article this problem is going to be solve This problem can be fixed by commenting condition check in file location.…
PrestaShop Custom Registration Field
Hello friend I am going to teach you in this tutorial that if you want to add a new field in the registration form of PrestaShop,1.7 how can you do it . So for this I will add the phone…