Most viewed questions in PHP

0 votes
0 answers

What does the variable $this mean in PHP?

Can someone please explain how the variable ...READ MORE

Jun 11, 2022 in PHP by narikkadan
• 58,640 points
89 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
• 58,640 points
89 views
0 votes
0 answers

Hashing a string in php

This is the hashed output "bWNgAQW2FLc" I ...READ MORE

Jun 27, 2022 in PHP by narikkadan
• 58,640 points
88 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
• 58,640 points
88 views
0 votes
0 answers

How does true/false work in PHP?

I'm curious about PHP's internal handling of ...READ MORE

Aug 4, 2022 in PHP by Kithuzzz
• 33,140 points
87 views
0 votes
0 answers

Simplest way to profile a PHP script

How can I profile a PHP script?  I tried the microtime function: then ...READ MORE

Jun 20, 2022 in PHP by narikkadan
• 58,640 points
86 views
0 votes
0 answers

How are echo and print different in PHP?

What is the Fundamental difference between these ...READ MORE

Jun 26, 2022 in PHP by narikkadan
• 58,640 points
85 views
0 votes
0 answers

Convert one date format into another in PHP

How can I convert one date format ...READ MORE

Jun 20, 2022 in PHP by Kithuzzz
• 33,140 points
85 views
0 votes
0 answers

How to play video in new (blank) window?

I made this: http://imgur.com/Moc84HD.jpg in WordPress. What it does ...READ MORE

May 28, 2022 in PHP by Kichu
• 19,050 points
85 views
0 votes
0 answers

Get user's current location

How can I utilize IP to determine ...READ MORE

Jul 29, 2022 in PHP by Kithuzzz
• 33,140 points
82 views
0 votes
0 answers

How do I get class name in PHP?

public class MyClass { } In Java, we can ...READ MORE

Jun 11, 2022 in PHP by narikkadan
• 58,640 points
82 views
0 votes
0 answers

How to download a file for specific users

To download a file from a third-party ...READ MORE

Aug 7, 2022 in PHP by Kithuzzz
• 33,140 points
81 views
0 votes
0 answers

Using reactJS, php and mysql is possible?

I want to learn reactJS; is it ...READ MORE

Aug 4, 2022 in PHP by Kithuzzz
• 33,140 points
80 views
0 votes
0 answers

Generate Controller and Model

How can I generate Controller and Model ...READ MORE

Jun 27, 2022 in PHP by narikkadan
• 58,640 points
79 views
0 votes
0 answers

How to use $_FILES["file"]["size"]?

How can I see if the file ...READ MORE

Jul 25, 2022 in PHP by Kithuzzz
• 33,140 points
78 views
0 votes
0 answers

Creating a config file in PHP

I am working on creating config file ...READ MORE

Jun 24, 2022 in PHP by narikkadan
• 58,640 points
76 views
0 votes
0 answers

PHP LONDON time to INDIA time change

I want to change GMT time to ...READ MORE

May 27, 2022 in PHP by Kichu
• 19,050 points
76 views
0 votes
0 answers

How to write into a file in PHP?

I have this script on one free ...READ MORE

Jun 20, 2022 in PHP by Kithuzzz
• 33,140 points
75 views
0 votes
0 answers

How to use PHP htmlentities()?

 I currently use htmlentities() to filter data coming from ...READ MORE

Jun 10, 2022 in PHP by narikkadan
• 58,640 points
75 views
0 votes
0 answers

How can I sort arrays and data in PHP?

How do I sort an array in ...READ MORE

May 29, 2022 in PHP by Kichu
• 19,050 points
75 views
0 votes
0 answers

What is autoload in php?

What is autoload in PHP? READ MORE

Jun 20, 2022 in PHP by Kithuzzz
• 33,140 points
74 views
0 votes
0 answers

How to use __dir__?

I want to use __dir__. I don't ...READ MORE

Jun 25, 2022 in PHP by narikkadan
• 58,640 points
73 views
0 votes
0 answers

What is encapsulation with simple example in php?

What is encapsulation with simple example in ...READ MORE

Jun 12, 2022 in PHP by narikkadan
• 58,640 points
72 views
0 votes
0 answers

Methods to remove specific characters from string?

I am trying to remove the brackets ...READ MORE

Jun 11, 2022 in PHP by narikkadan
• 58,640 points
72 views
0 votes
0 answers

How to count same values are exists in my record

I have difficulty counting how many times ...READ MORE

Aug 1, 2022 in PHP by Kithuzzz
• 33,140 points
71 views
0 votes
0 answers

How are session variables accessed in PHP?

How does PHP or any other language ...READ MORE

Jun 20, 2022 in PHP by narikkadan
• 58,640 points
71 views
0 votes
0 answers

Why shouldn't I use mysql_* functions in PHP?

What are the technical reasons for why ...READ MORE

Jun 4, 2022 in PHP by Kichu
• 19,050 points
68 views
0 votes
0 answers

PHP NumberFormatter.format() shows strange output

I have this code in a PHP function: $fmt ...READ MORE

Jun 1, 2022 in PHP by Kichu
• 19,050 points
67 views
0 votes
0 answers

$_REQUEST in PHP

This is my code: $message = ""; if($_REQUEST['msg'] == "new"){ ...READ MORE

May 30, 2022 in PHP by Kichu
• 19,050 points
66 views
0 votes
0 answers

How to connect MySQL db using new XAMPP

What is the best way to connect ...READ MORE

Jun 26, 2022 in PHP by narikkadan
• 58,640 points
62 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
• 58,640 points
61 views
0 votes
0 answers

Is it possible to write strictly typed PHP code?

Is it possible to write code like ...READ MORE

Jun 6, 2022 in PHP by Kichu
• 19,050 points
54 views