Most voted questions in PHP

0 votes
0 answers

Static methods in PHP

I came to know about static methods ...READ MORE

Jun 19, 2022 in PHP by narikkadan
• 63,600 points
363 views
0 votes
0 answers

How to retrieve images from MySQL database and display in an html tag

I created a table using the  BLOB column ...READ MORE

Jun 19, 2022 in PHP by narikkadan
• 63,600 points
1,514 views
0 votes
0 answers

PHP server on local machine?

I want to test my PHP file ...READ MORE

Jun 19, 2022 in PHP by narikkadan
• 63,600 points
472 views
0 votes
0 answers

How to sum all column values in multi-dimensional array?

How can I add all the columnar ...READ MORE

Jun 19, 2022 in PHP by narikkadan
• 63,600 points
1,501 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
• 63,600 points
396 views
0 votes
0 answers

How to get the PHP Version?

How can I  check the version of ...READ MORE

Jun 19, 2022 in PHP by narikkadan
• 63,600 points
521 views
0 votes
0 answers

How to pass a PHP variable using the URL

I need to pass some PHP variables ...READ MORE

Jun 19, 2022 in PHP by narikkadan
• 63,600 points
6,921 views
0 votes
0 answers

How can I remove part of a string in PHP?

How can I remove part of a ...READ MORE

Jun 19, 2022 in PHP by narikkadan
• 63,600 points
556 views
0 votes
0 answers

Combine two arrays

I have two arrays like this: array( '11' ...READ MORE

Jun 18, 2022 in PHP by narikkadan
• 63,600 points
563 views
0 votes
0 answers

PHP Fatal error: Using $this when not in object context

I am working on a new WebApp without ...READ MORE

Jun 18, 2022 in PHP by narikkadan
• 63,600 points
1,085 views
0 votes
0 answers

php is a scripting language or server side language?

I read that the scripting languages run ...READ MORE

Jun 18, 2022 in PHP by narikkadan
• 63,600 points
859 views
0 votes
0 answers

PHP MySQL autocomplete

I have an auto-complete search field in ...READ MORE

Jun 18, 2022 in PHP by narikkadan
• 63,600 points
1,137 views
0 votes
0 answers

What is function overloading and overriding in php?

What is function overloading and function overriding? ...READ MORE

Jun 18, 2022 in PHP by narikkadan
• 63,600 points
609 views
0 votes
0 answers

How to set php executable path php.validate.executablePath in vscode when php is set inside docker container?

I have a development environment based on ...READ MORE

Jun 18, 2022 in PHP by narikkadan
• 63,600 points
2,376 views
0 votes
0 answers

Passing variable from JS to PHP within the same page

I know that PHP is a server-side ...READ MORE

Jun 18, 2022 in PHP by narikkadan
• 63,600 points
2,140 views
0 votes
0 answers

PHP with MySQL 8.0+ error: The server requested authentication method unknown to the client

I'm running MySQL version 8 on PHP ...READ MORE

Jun 18, 2022 in PHP by narikkadan
• 63,600 points
1,225 views
0 votes
0 answers

What does this mean in PHP: -> or =>

Possible duplicate: where we use object operator “->” ...READ MORE

Jun 18, 2022 in PHP by narikkadan
• 63,600 points
693 views
0 votes
0 answers

How to convert an array to object in PHP?

How can I convert an array like ...READ MORE

Jun 18, 2022 in PHP by narikkadan
• 63,600 points
532 views
0 votes
0 answers

What is the difference between POST and GET in HTML/PHP

I don't seem to understand what GET ...READ MORE

Jun 17, 2022 in PHP by narikkadan
• 63,600 points
428 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
• 63,600 points
490 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
• 63,600 points
474 views
0 votes
0 answers

Php function returning associate array

How can I make a function return ...READ MORE

Jun 17, 2022 in PHP by narikkadan
• 63,600 points
348 views
0 votes
0 answers

How to increase maximum execution time in php

I want to increase the maximum execution time in ...READ MORE

Jun 17, 2022 in PHP by narikkadan
• 63,600 points
695 views
0 votes
0 answers

What is the difference between ' and " in PHP?

What is the difference between ' and ...READ MORE

Jun 17, 2022 in PHP by narikkadan
• 63,600 points
522 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
• 63,600 points
407 views
0 votes
0 answers

Generate an N-digit random number

I want to generate a 6-digit random ...READ MORE

Jun 17, 2022 in PHP by narikkadan
• 63,600 points
600 views
0 votes
0 answers

Using sessions & session variables in a PHP Login Script

I have created a login and register ...READ MORE

Jun 17, 2022 in PHP by narikkadan
• 63,600 points
674 views
0 votes
0 answers

How can I parse a JSON file with PHP?

I want to parse a JSON file ...READ MORE

Jun 17, 2022 in PHP by narikkadan
• 63,600 points
474 views
0 votes
0 answers

Fetch data from database in php through AJAX,

The index.php  I created a connection with the ...READ MORE

Jun 16, 2022 in PHP by narikkadan
• 63,600 points
8,293 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
• 63,600 points
465 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
• 63,600 points
427 views
0 votes
0 answers

Remove all html tags from php string

I want to display the first 110 ...READ MORE

Jun 16, 2022 in PHP by narikkadan
• 63,600 points
808 views
0 votes
0 answers
0 votes
0 answers

php extension mcrypt must be loaded

When I tried to install Magento on ...READ MORE

Jun 16, 2022 in PHP by narikkadan
• 63,600 points
442 views
0 votes
0 answers

What is the difference between public, private, and protected?

When and why should I use public, ...READ MORE

Jun 16, 2022 in PHP by narikkadan
• 63,600 points
489 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
• 63,600 points
439 views
0 votes
0 answers

How can i send an image map area id to a php file?

This is my image map: <map name="frozen"> ...READ MORE

Jun 16, 2022 in PHP by narikkadan
• 63,600 points
1,261 views
0 votes
0 answers

Where are $_SESSION variables stored?

Are $_SESSION variables stored on the client ...READ MORE

Jun 16, 2022 in PHP by narikkadan
• 63,600 points
357 views
0 votes
0 answers

PHP typecasting

what is the best way to typecast ...READ MORE

Jun 14, 2022 in PHP by narikkadan
• 63,600 points
632 views
0 votes
0 answers

Difference between require, include, require_once and include_once?

In PHP: When should I use require vs. include? When should I ...READ MORE

Jun 14, 2022 in PHP by narikkadan
• 63,600 points
336 views
0 votes
0 answers

localhost/phpinfo.php

Wen I tried - http://localhost/phpinfo.php in google chrome ...READ MORE

Jun 14, 2022 in PHP by narikkadan
• 63,600 points
2,435 views
0 votes
0 answers

How to check if PHP array is associative or sequential?

Can someone please suggest to me an ...READ MORE

Jun 14, 2022 in PHP by narikkadan
• 63,600 points
735 views
0 votes
0 answers

What's the difference between :: (double colon) and -> (arrow) in PHP?

I know that there are two distinct ways ...READ MORE

Jun 14, 2022 in PHP by narikkadan
• 63,600 points
632 views
0 votes
0 answers

How can I store and retrieve images from a MySQL database using PHP?

How can I insert an image in ...READ MORE

Jun 14, 2022 in PHP by narikkadan
• 63,600 points
533 views
0 votes
0 answers

Find PHP version on windows command line

I wanted to know the version of ...READ MORE

Jun 14, 2022 in PHP by narikkadan
• 63,600 points
986 views
0 votes
0 answers

How to write a PHP ternary operator

How can I write a PHP ternary operator ...READ MORE

Jun 14, 2022 in PHP by narikkadan
• 63,600 points
389 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
• 63,600 points
472 views
0 votes
0 answers

URL rewriting with PHP

I have this URL: url.com/picture.php?id=51 And I want the ...READ MORE

Jun 13, 2022 in PHP by narikkadan
• 63,600 points
564 views
0 votes
0 answers

How to echo or print an array in PHP?

I have this array: Array ( [data] => ...READ MORE

Jun 13, 2022 in PHP by narikkadan
• 63,600 points
418 views