Latest questions in PHP

0 votes
0 answers

Automatic conversion from int to string in PHP

In PHP the variable of type integer ...READ MORE

Jun 12, 2022 in PHP by narikkadan
• 63,420 points
775 views
0 votes
0 answers

Static variables in PHP

Can someone please explain to me what ...READ MORE

Jun 12, 2022 in PHP by narikkadan
• 63,420 points
307 views
0 votes
0 answers

How to reverse an array in php WITHOUT using the array reverse method

I have an array called reverse array ...READ MORE

Jun 12, 2022 in PHP by narikkadan
• 63,420 points
1,767 views
0 votes
0 answers

PHP: Split string

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

Jun 12, 2022 in PHP by narikkadan
• 63,420 points
331 views
0 votes
0 answers

Why is PHP session_destroy() not working?

Why is session_destroy() not working? Is there any other way ...READ MORE

Jun 12, 2022 in PHP by narikkadan
• 63,420 points
1,035 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
• 63,420 points
179 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
• 63,420 points
160 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
• 63,420 points
193 views
0 votes
0 answers

Login using PHP and JavaScript from SQL database

I have developed a drop-down login panel using ...READ MORE

Jun 11, 2022 in PHP by narikkadan
• 63,420 points
3,333 views
0 votes
0 answers

local host and port number in Server variable

I want to figure out getting the port ...READ MORE

Jun 11, 2022 in PHP by narikkadan
• 63,420 points
414 views
0 votes
0 answers

I can't enter to "localhost:8080/phpmyadmin"

When I tried to enter it returns ...READ MORE

Jun 11, 2022 in PHP by narikkadan
• 63,420 points
4,002 views
0 votes
0 answers

Undefined index error PHP

I'm getting this error: Notice: Undefined index: productid ...READ MORE

Jun 11, 2022 in PHP by narikkadan
• 63,420 points
377 views
0 votes
0 answers

Prevent nginx 504 Gateway timeout using PHP set_time_limit()

I am getting 504 timeout messages from ...READ MORE

Jun 11, 2022 in PHP by narikkadan
• 63,420 points
581 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
• 63,420 points
180 views
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
• 63,420 points
309 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
• 63,420 points
215 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
• 63,420 points
455 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
• 63,420 points
514 views
0 votes
0 answers

Parse error: Syntax error, unexpected end of file in my PHP code

I am getting this error: Parse error: syntax ...READ MORE

Jun 10, 2022 in PHP by narikkadan
• 63,420 points
2,083 views
0 votes
0 answers

How to base64 encode php in this format?

Can someone please guide me on how ...READ MORE

Jun 10, 2022 in PHP by narikkadan
• 63,420 points
1,064 views
0 votes
0 answers

How to change maximum viewable tables from 250 to anything in PhpMyadmin?

I wanted to increase my list of ...READ MORE

Jun 10, 2022 in PHP by narikkadan
• 63,420 points
486 views
0 votes
0 answers

PHP - how to create a newline character?

I am working on creating a newline character: echo $clientid; echo ...READ MORE

Jun 10, 2022 in PHP by narikkadan
• 63,420 points
177 views
0 votes
0 answers

How to access function value in another function in PHP Classes

How can I return a variable value ...READ MORE

Jun 10, 2022 in PHP by narikkadan
• 63,420 points
796 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
• 63,420 points
269 views
0 votes
0 answers

How to open php files through localhost?

I am creating a student management program ...READ MORE

Jun 10, 2022 in PHP by narikkadan
• 63,420 points
929 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
• 63,420 points
288 views
0 votes
0 answers

How do I use PHP to get the current year?

I want to put a copyright notice ...READ MORE

Jun 9, 2022 in PHP by Kichu
• 19,050 points
346 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,050 points
215 views
0 votes
0 answers

PHP Unset Session Variable

I am working on creating a product ...READ MORE

Jun 9, 2022 in PHP by Kichu
• 19,050 points
835 views
0 votes
0 answers

PHP "php://input" vs $_POST

I want to know what is the ...READ MORE

Jun 9, 2022 in PHP by Kichu
• 19,050 points
490 views
0 votes
0 answers

PHP - Notice: Undefined index

I wanted to do a registration form ...READ MORE

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

How to locate the php.ini file (xampp)?

I am using xampp server for PHP ...READ MORE

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

Encrypt and Decrypt md5

I am using code $enrypt=md5($pass) and inserting ...READ MORE

Jun 9, 2022 in PHP by Kichu
• 19,050 points
506 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,050 points
216 views
0 votes
0 answers

PHP Notice: Undefined offset: 1 with array when reading data

I am getting this error : PHP Notice: ...READ MORE

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

Google Unicode Fonts not rendered properly in mpdf for PHP

I want to use Baloo2 Google Font ...READ MORE

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

How to detect faulty JPEG in PHP? (Issue with SOFn, DQT or DHT JPEG marker missing before a JPEG SOS marker)

Is there a way to detect if ...READ MORE

Jun 7, 2022 in PHP by Kichu
• 19,050 points
636 views
0 votes
0 answers

Cant Find Xampp setup for windows 32 bit (Php 7.3.2 )

I downloaded a 64-bit version of xampp ...READ MORE

Jun 7, 2022 in PHP by Kichu
• 19,050 points
834 views
0 votes
0 answers

PHP: Inserting Values from the Form into MySQL

I created a user table in MySQL from the ...READ MORE

Jun 7, 2022 in PHP by Kichu
• 19,050 points
279 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,050 points
306 views
0 votes
0 answers

Php, wait 5 seconds before executing an action

I am working on a PHP script ...READ MORE

Jun 7, 2022 in PHP by Kichu
• 19,050 points
208 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,050 points
508 views
0 votes
0 answers

Send mail using an email account created on Hostinger (PHP)

I am using an email I created ...READ MORE

Jun 7, 2022 in PHP by Kichu
• 19,050 points
3,139 views
0 votes
0 answers

Delete a database in phpMyAdmin

How to delete a database in phpMyAdmin? READ MORE

Jun 7, 2022 in PHP by Kichu
• 19,050 points
317 views
0 votes
0 answers

How can I make a PHP counter?

I did this in Javascript but when ...READ MORE

Jun 7, 2022 in PHP by Kichu
• 19,050 points
180 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
143 views
0 votes
0 answers

How to run php files on my computer?

How can I run a PHP file ...READ MORE

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

How to convert rupee as paise with php?

What is the correct way to display ...READ MORE

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

Check if variable empty

Code: if ($user_id == NULL || $user_name == ...READ MORE

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

PHP function to generate v4 UUID

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

Jun 4, 2022 in PHP by Kichu
• 19,050 points
1,095 views