Trending questions in Web Development

0 votes
1 answer

How to embed an External Page Without an Iframe?

Hello @kartik, You could load the external page ...READ MORE

Sep 9, 2020 in Java-Script by Niroj
• 82,880 points
10,057 views
0 votes
1 answer

How can I read the client's machine/computer name from the browser?

Hello @kartik, You can do it with IE ...READ MORE

Sep 9, 2020 in Java-Script by Niroj
• 82,880 points
10,031 views
0 votes
1 answer

How to upload files in Laravel directly into public folder?

Hello @kartik, You can create a new storage ...READ MORE

Sep 28, 2020 in Laravel by Niroj
• 82,880 points
9,239 views
0 votes
2 answers

error: Microsoft Visual C++ 14.0 is required

According to your question, it seems that ...READ MORE

Feb 8, 2022 in Java-Script by Rahul
• 9,670 points
1,086 views
0 votes
1 answer

How to access a RowDataPacket object?

Hello @kartik, Turns out they are normal objects ...READ MORE

Oct 14, 2020 in Java-Script by Niroj
• 82,880 points
8,498 views
0 votes
1 answer

How to delete all cookies of my website in php?

Hello @kartik, This will unset all of the ...READ MORE

Oct 27, 2020 in PHP by Niroj
• 82,880 points
7,936 views
0 votes
1 answer

How to convert a ruby hash object to JSON?

Hello @kartik, You can also use JSON.generate: require 'json' JSON.generate({ foo: ...READ MORE

Jul 24, 2020 in Java-Script by Niroj
• 82,880 points
11,976 views
0 votes
1 answer

How to show old data of dynamic checkbox in Laravel?

Hello @kartik, This will work: ...READ MORE

Sep 30, 2020 in Laravel by Niroj
• 82,880 points
8,998 views
0 votes
1 answer

How to remove MySQL root password?

Hello @kartik, You need to set the password ...READ MORE

Aug 19, 2020 in PHP by Niroj
• 82,880 points
10,837 views
0 votes
1 answer

Error: Cannot find module 'ejs'

Hello @kartik, Go up one level (above app.js) ...READ MORE

Sep 7, 2020 in Node-js by Niroj
• 82,880 points
9,849 views
0 votes
1 answer

Error: jQuery requires a window with a document

Hello @kartik, Try this: // definition var $ = require('jquery')(require("jsdom").jsdom().parentWindow); // ...READ MORE

Oct 16, 2020 in Node-js by Niroj
• 82,880 points
8,143 views
0 votes
1 answer

Error:jQuery scrollTop not working in Chrome but working in Firefox

Hello @kartik, If your CSS html element has the following overflow markup, scrollTop will ...READ MORE

May 29, 2020 in JQuery by Niroj
• 82,880 points
14,195 views
0 votes
1 answer

How to select all column name from a table in laravel?

You can get all columns name by ...READ MORE

Dec 2, 2020 in Laravel by Niroj
• 82,880 points
6,029 views
0 votes
1 answer

Error:sudo: npm: command not found

Hello @kartik, I had the same problem; here ...READ MORE

Jul 15, 2020 in Node-js by Niroj
• 82,880 points
12,056 views
0 votes
1 answer

Error:Laravel Migration table already exists but i want to add new not the older

Hello @kartik, You need to run php artisan migrate:rollback if ...READ MORE

Aug 11, 2020 in Laravel by Niroj
• 82,880 points
10,893 views
0 votes
1 answer

How npm start runs a server on port 8000?

Hello @kartik, If you will look at package.json file. you will ...READ MORE

Sep 7, 2020 in Node-js by Niroj
• 82,880 points
9,679 views
0 votes
1 answer

How to save image from url with curl PHP?

Hello @kartik, try this: function grab_image($url,$saveto){ ...READ MORE

Nov 14, 2020 in PHP by Niroj
• 82,880 points
6,748 views
0 votes
1 answer

How to access a global variable in a PHP function?

Hello @kartik, It is not working because you have to ...READ MORE

Nov 10, 2020 in PHP by Niroj
• 82,880 points
6,803 views
0 votes
1 answer

How to include a PHP variable inside a MySQL statement?

Hii, You can try this: $query="SELECT * FROM CountryInfo ...READ MORE

Apr 9, 2020 in PHP by Niroj
• 82,880 points
16,089 views
0 votes
1 answer

How to find the version of an installed node.js/npm package?

Hello, npm view <package> version - returns the latest ...READ MORE

Nov 24, 2020 in Node-js by Niroj
• 82,880 points
6,201 views
0 votes
1 answer

How can I replace the deprecated set_magic_quotes_runtime in php?

Hello @kartik, I used FPDF v. 1.53 and ...READ MORE

Oct 29, 2020 in PHP by Niroj
• 82,880 points
7,256 views
0 votes
1 answer

How to get “value” of file upload input field in jquery?

Hello @kartik, Yes ,you can read the value ...READ MORE

Jul 8, 2020 in Java-Script by Niroj
• 82,880 points
12,158 views
0 votes
1 answer

Error: Cannot find module 'webpack/lib/node/NodeTemplatePlugin'

Hii kartik, Removing the node_modules and the package-lock.json ...READ MORE

Apr 22, 2020 in Angular by Niroj
• 82,880 points
15,431 views
0 votes
1 answer

How do I perform an id array query in Mongoose?

Hello @kartik, Here is a mongoosey way to ...READ MORE

Nov 30, 2020 in Node-js by Niroj
• 82,880 points
5,844 views
0 votes
1 answer

How to change options of <select> with jQuery?

Hello @kartik, You can remove the existing options ...READ MORE

Nov 25, 2020 in JQuery by Niroj
• 82,880 points
5,970 views
0 votes
1 answer

How do I make a PATCH request in PHP using cURL?

Hello @kartik, Use this: curl_setopt($curl, CURLOPT_CUSTOMREQUEST, 'PATCH'); should do it. Hope ...READ MORE

Oct 19, 2020 in PHP by Niroj
• 82,880 points
7,596 views
0 votes
1 answer

How do you get the path to the Laravel Storage folder?

Hello @kartik, In Laravel 3, call path('storage'). In Laravel 4, ...READ MORE

Sep 11, 2020 in Laravel by Niroj
• 82,880 points
9,207 views
0 votes
1 answer

How to set port for php artisan.php serve in Laravel?

Hii @kartik, When we use the php artisan serve ...READ MORE

Mar 30, 2020 in Laravel by Niroj
• 82,880 points
16,320 views
+1 vote
1 answer

How can we send message multiple time to a specific person or group in whatsapp using loop?

Hii @kartik,  This is simple task to send single ...READ MORE

Feb 28, 2020 in Java-Script by Niroj
• 82,880 points
17,615 views
0 votes
1 answer

How can we Create Multiple Where Clause Query Using Laravel Eloquent?

Hii, You can use Conditions using Array: $users = User::where([ ...READ MORE

Mar 30, 2020 in Laravel by Niroj
• 82,880 points
16,289 views
–1 vote
1 answer

Error:Notice: Array to string conversion in C:\xampp\htdocs\Niroj\FinalSubmissionOfTheFormPHP.php on line 8

Hello @kartik, When you have many HTML inputs ...READ MORE

Aug 27, 2020 in PHP by Niroj
• 82,880 points
9,834 views
0 votes
1 answer

Error:node' is not recognized as an internal or external command

Hello @kartik, Node is missing from the SYSTEM ...READ MORE

Oct 15, 2020 in Node-js by Niroj
• 82,880 points
7,669 views
0 votes
1 answer

How to extract URLs from text in PHP?

Hello, A simple example capturing anything starting with http:// and https:// could ...READ MORE

Nov 20, 2020 in PHP by Niroj
• 82,880 points
6,063 views
0 votes
1 answer

How do I get the HTML code of a web page in PHP?

Hello @kartik, If your PHP server allows url ...READ MORE

Oct 6, 2020 in PHP by Niroj
• 82,880 points
7,996 views
+2 votes
1 answer

An unhandled exception occurred: Job name “..getProjectMetadata” does not exist?

Hello @kartik, I had this error after npm audit found ...READ MORE

Apr 22, 2020 in Angular by Niroj
• 82,880 points
15,092 views
0 votes
1 answer

Error:My Routes are Returning a 404 in Laravel?

Hii @kartik Routes Use them to define specific routes ...READ MORE

Mar 30, 2020 in Laravel by Niroj
• 82,880 points
16,142 views
0 votes
1 answer

How to access iFrame parent page using jquery?

Hello @kartik, To find in the parent of ...READ MORE

Sep 3, 2020 in Java-Script by Niroj
• 82,880 points
9,326 views
0 votes
1 answer

How to unset or remove a collection element after fetching it?

Hello @kartik, You would want to use ->forget() $collection->forget($key); Hope it ...READ MORE

Sep 11, 2020 in Laravel by Niroj
• 82,880 points
8,984 views
0 votes
1 answer

Error:Cannot insert explicit value for identity column in table 'table' when IDENTITY_INSERT is set to OFF.

Hello @kartik, You're inserting values for OperationId that is an identity ...READ MORE

Jul 21, 2020 in PHP by Niroj
• 82,880 points
11,197 views
0 votes
1 answer

Error:PHP Notice: Undefined offset: 1

Hello @kartik, Change $data[$parts[0]] = $parts[1]; to if ( ! isset($parts[1])) ...READ MORE

Oct 20, 2020 in PHP by Niroj
• 82,880 points
7,204 views
0 votes
1 answer

How to set the content-type of request header when using Fetch APi?

Hello @kartik, You need to create a fetch ...READ MORE

Oct 15, 2020 in Node-js by Niroj
• 82,880 points
7,373 views
0 votes
1 answer

Fatal error: Call to undefined function ImageCreate() in /home/t1g01/phplot.php on line 248

Hello @kartik, Your server most like does not ...READ MORE

Nov 18, 2020 in PHP by Niroj
• 82,880 points
5,887 views
0 votes
1 answer

Error:sending email via php mail function goes to spam

Hello @kartik, Try changing your headers to this: $headers ...READ MORE

Jul 30, 2020 in Laravel by Niroj
• 82,880 points
10,617 views
0 votes
1 answer

Laravel validation exists where NOT

You can use unique Example 'email' => 'unique:users,email ...READ MORE

Dec 3, 2020 in Laravel by Niroj
• 82,880 points
5,148 views
0 votes
1 answer

How to check if connected to database in Laravel?

Hello @kartik, You can use if(DB::connection()->getDatabaseName()) { echo ...READ MORE

Sep 28, 2020 in Laravel by Niroj
• 82,880 points
8,024 views
0 votes
1 answer

Composer install error - requires ext_curl when it's actually enabled?

Hello, on php7 run for example: > sudo apt-get ...READ MORE

Apr 2, 2020 in PHP by Niroj
• 82,880 points
15,717 views
0 votes
1 answer

How to convert HTML string into DOM elements?

Hello @kartik, You can use a DOMParser, like so: var ...READ MORE

Oct 8, 2020 in Java-Script by Niroj
• 82,880 points
7,541 views
0 votes
1 answer

How jQuery event to trigger action when a div is made visible?

Hello @kartik, You could always add to the ...READ MORE

Aug 25, 2020 in Java-Script by Niroj
• 82,880 points
9,439 views
0 votes
1 answer

How to create package.json from package-lock.json?

Hello @kartik, Install the latest npm with npm install ...READ MORE

Nov 30, 2020 in Node-js by Niroj
• 82,880 points
5,270 views
0 votes
1 answer

How to call a controller function inside a view in laravel 5

Hello @kartik, Just try this in your view ...READ MORE

Sep 25, 2020 in Laravel by Niroj
• 82,880 points
8,053 views