Trending questions in Web Development

0 votes
0 answers

What's quicker and better to determine if an array key exists in PHP?

$key = 'jim'; // example 1 if (isset($array[$key])) { ...READ MORE

Jun 1, 2022 in PHP by Kichu
• 19,040 points
• 1,881 views
0 votes
0 answers

How to validate an Email in PHP?

How can I validate the input value ...READ MORE

Jun 16, 2022 in PHP by narikkadan
• 86,360 points
• 1,332 views
0 votes
1 answer

Position Relative vs Absolute?

position: relative moves an element relative to ...READ MORE

Jun 10, 2022 in CSS by Edureka
• 12,710 points
• 1,545 views
0 votes
0 answers

Changing upload_max_filesize on PHP

When I run this code: <?php ini_set('upload_max_filesize', '10M'); echo ini_get('upload_max_filesize'), ", ...READ MORE

Jun 14, 2022 in PHP by narikkadan
• 86,360 points
• 1,412 views
0 votes
1 answer

How do I assign jQuery slider handle values with their left or right edges, instead of their centers?

This is far from perfect yet it ...READ MORE

Jun 6, 2022 in JQuery by Edureka
• 13,690 points
• 1,692 views
0 votes
0 answers

Scroll to an element with jQuery

I have this input element: <input type="text" class="textfield" ...READ MORE

Jul 1, 2022 in Web Development by gaurav
• 25,250 points

edited Mar 4, 2025 • 658 views
0 votes
0 answers

Can I use PHP reserved names for my functions and classes?

I wanted to create a function called ...READ MORE

Jun 12, 2022 in PHP by narikkadan
• 86,360 points
• 1,491 views
0 votes
0 answers

How to extract img src, title and alt from html using php?

I am working on a page where ...READ MORE

Jun 3, 2022 in PHP by Kichu
• 19,040 points
• 1,882 views
0 votes
0 answers

Get file content from URL?

When I use this URL: https://chart.googleapis.com/chart?cht=p3&chs=250x100&chd=t:60,40&chl=Hello|World&chof=json I am prompted ...READ MORE

Jun 17, 2022 in PHP by narikkadan
• 86,360 points
• 1,274 views
0 votes
0 answers

Response to preflight request doesn't pass access control check

I called a REST API on Amazon ...READ MORE

May 7, 2022 in Java-Script by narikkadan
• 86,360 points
• 3,046 views
0 votes
0 answers

What is the difference between Promises and Observables?

May 23, 2022 in Angular by Kichu
• 19,040 points
• 1,524 views
0 votes
0 answers

Escaping quotation marks in PHP

I am getting a parse error, and ...READ MORE

Jun 19, 2022 in PHP by narikkadan
• 86,360 points
• 1,165 views
0 votes
0 answers

Parameter must be an array or an object that implements Countable in phpmyadmin

I am getting this error message When ...READ MORE

Jun 11, 2022 in PHP by narikkadan
• 86,360 points
• 1,514 views
0 votes
0 answers

How to add elements to an empty array in PHP?

I define an array in PHP : $cart ...READ MORE

Jun 3, 2022 in PHP by Kichu
• 19,040 points
• 1,855 views
0 votes
0 answers

PHP: Split string

How do I split a string by ...READ MORE

Jun 12, 2022 in PHP by narikkadan
• 86,360 points
• 1,402 views
0 votes
0 answers

What is .htaccess file?

 I want to know more about the .htaccess ...READ MORE

Jun 16, 2022 in PHP by narikkadan
• 86,360 points
• 1,291 views
0 votes
1 answer

What is Node.js? [closed]

At work, I use Node.js and find ...READ MORE

Jun 7, 2022 in Node-js by Neha
• 9,020 points
• 1,611 views
0 votes
1 answer

Email validation using jQuery

You can use regular old javascript for ...READ MORE

Jun 3, 2022 in JQuery by Edureka
• 13,690 points
• 1,785 views
0 votes
1 answer

jquery easyupload plugin not uploading pdf files

In this case, we need to check upload_max_filesize and post_max_size. http://php.net/manual/en/features.file-upload.php <?php try ...READ MORE

Jun 3, 2022 in JQuery by Edureka
• 13,690 points
• 1,785 views
0 votes
0 answers

Whats the point of running Laravel with the command 'php artisan serve'?

Why do we need to run a ...READ MORE

Jun 7, 2022 in PHP by Kichu
• 19,040 points
• 1,673 views
0 votes
1 answer

jQuery mobile: Enable Word Wrap in ListViews

A listview is coded as a simple ...READ MORE

Jun 6, 2022 in JQuery by Edureka
• 13,690 points
• 1,648 views
0 votes
0 answers

Dynamically generating a QR code with PHP

I want to generate QR codes on ...READ MORE

Jun 17, 2022 in PHP by narikkadan
• 86,360 points
• 1,232 views
0 votes
1 answer

Setting top and left CSS attributes

You can alternatively use the setProperty method, ...READ MORE

Jun 10, 2022 in CSS by Edureka
• 12,710 points
• 1,488 views
0 votes
0 answers

How to create a JSON object

I want to create a JSON object ...READ MORE

Jun 16, 2022 in PHP by narikkadan
• 86,360 points
• 1,269 views
0 votes
0 answers

Creating default object from empty value in PHP?

I am getting this error after I ...READ MORE

Jun 10, 2022 in PHP by narikkadan
• 86,360 points
• 1,516 views
0 votes
1 answer

Difference between static and relative positioning

Static: The location of items is static ...READ MORE

Jun 10, 2022 in CSS by Edureka
• 12,710 points
• 1,634 views
0 votes
0 answers

Unix xxd -r -p command NodeJS equivalent

I'm attempting to convert an encrypted shell ...READ MORE

Jun 9, 2022 in Node-js by Vaani
• 7,070 points
• 1,537 views
0 votes
1 answer

How do I give text or an image a transparent background using CSS?

Use either a semi-transparent PNG or SVG ...READ MORE

May 27, 2022 in CSS by Edureka
• 12,710 points
• 2,073 views
0 votes
0 answers

What is mod_php?

Note that the php_flag settings in .htaccess ...READ MORE

Jun 17, 2022 in PHP by narikkadan
• 86,360 points
• 1,202 views
0 votes
1 answer

JQuery Difference between hide() and fadeOut() , show() and fadeIn()

Main difference between FadeIn, FadeOut vs hide, ...READ MORE

Jun 1, 2022 in JQuery by Edureka
• 13,690 points
• 1,849 views
0 votes
0 answers

Split string into 2 pieces by length using PHP

I want to split my long string ...READ MORE

Jun 1, 2022 in PHP by Kichu
• 19,040 points
• 1,786 views
0 votes
1 answer

Break long word with CSS

What you need is word-wrap: break-word;, which ...READ MORE

Jun 10, 2022 in CSS by Edureka
• 12,710 points
• 1,458 views
0 votes
0 answers

PHP switch statement returns invalid output

The PHP switch statement returns invalid output : $cond ...READ MORE

Jun 9, 2022 in PHP by Kichu
• 19,040 points
• 1,450 views
0 votes
0 answers

Jquery validation plugin - TypeError: $(...).validate is not a function

I am getting an error in my ...READ MORE

May 7, 2022 in Java-Script by narikkadan
• 86,360 points
• 2,946 views
0 votes
0 answers

How to efficiently use try...catch blocks in PHP

I was using try..catch blocks in my ...READ MORE

Jun 1, 2022 in PHP by Kichu
• 19,040 points
• 1,763 views
0 votes
1 answer

Wrong stacktrace when using longjohn in nodejs

It happens without longjohn, too. I don't exactly know ...READ MORE

Jun 7, 2022 in Node-js by Neha
• 9,020 points
• 1,526 views
0 votes
0 answers

PHP max_input_vars

I'm getting a max_input_vars error message. I'm ...READ MORE

Jun 11, 2022 in PHP by narikkadan
• 86,360 points
• 1,340 views
0 votes
1 answer

jQuery's .on() method combined with the submit event

You need to delegate event to the ...READ MORE

May 30, 2022 in JQuery by gaurav
• 25,250 points
• 1,937 views
0 votes
0 answers

How do the PHP equality (== double equals) and identity (=== triple equals) comparison operators differ?

What is the difference between == and ===? How exactly does ...READ MORE

Jun 19, 2022 in PHP by narikkadan
• 86,360 points
• 1,060 views
0 votes
0 answers

Format die(); Message in PHP

Is there a way to style the ...READ MORE

Jun 10, 2022 in PHP by narikkadan
• 86,360 points
• 1,385 views
0 votes
0 answers

What is meaning by @ symbol in typescript --Angular 2

For the creation of angular 2 applications, ...READ MORE

Jun 27, 2022 in PHP by Logan
• 2,140 points

edited Mar 4, 2025 • 677 views
0 votes
0 answers

Creating a search form in PHP [duplicate]

I am working on a function where ...READ MORE

Jun 9, 2022 in PHP by Kichu
• 19,040 points
• 1,401 views
0 votes
1 answer

nodejs Async's whilst

While it will accomplish your goals, it ...READ MORE

May 27, 2022 in Node-js by Neha
• 9,020 points
• 1,970 views
0 votes
0 answers

What's the use of ob_start() in php?

Is ob_start() used for output buffering so ...READ MORE

Jun 3, 2022 in PHP by Kichu
• 19,040 points
• 1,678 views
0 votes
1 answer

Ajax load issues with space in url

You should URL encode the message body ...READ MORE

Jun 10, 2022 in JQuery by gaurav
• 25,250 points
• 1,673 views
0 votes
0 answers

using for loop in jquery

$(document).ready(function() { $for(i=1;i<8;i++) ...READ MORE

Jun 6, 2022 in JQuery by Edureka
• 13,690 points
• 1,539 views
0 votes
0 answers

In php, how do I load txt file as a string?

I want to load a file as ...READ MORE

Jun 7, 2022 in PHP by Kichu
• 19,040 points
• 1,535 views
0 votes
0 answers

How to use Unlink() function

I tried using the PHP unlink() function to ...READ MORE

Jun 13, 2022 in PHP by narikkadan
• 86,360 points
• 1,272 views
0 votes
1 answer

CSS - Darken image except for rectangle overlay

Perhaps try constructing four boxes, one on ...READ MORE

May 28, 2022 in CSS by Edureka
• 12,710 points
• 1,920 views
0 votes
0 answers

How to add php repositories to debian kali linux for php files?

I added: packages.sury.org/php through the script, I got on ...READ MORE

Jun 1, 2022 in PHP by Kichu
• 19,040 points
• 1,743 views