Trending questions in PHP

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 in PHP by narikkadan
• 37,660 points
76 views
0 votes
0 answers

PHP Passing ID in href

I want to have editable rows in ...READ MORE

May 27 in PHP by Kichu
• 19,040 points
711 views
0 votes
0 answers

PHP max_input_vars

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

Jun 11 in PHP by narikkadan
• 37,660 points
53 views
0 votes
0 answers

How do I get class name in PHP?

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

Jun 11 in PHP by narikkadan
• 37,660 points
46 views
0 votes
0 answers

What does the variable $this mean in PHP?

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

Jun 11 in PHP by narikkadan
• 37,660 points
46 views
0 votes
0 answers

Methods to remove specific characters from string?

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

Jun 11 in PHP by narikkadan
• 37,660 points
35 views
0 votes
0 answers

PHP multidimensional array search by value

I want to search for the uid ...READ MORE

May 30 in PHP by Kichu
• 19,040 points
533 views
0 votes
0 answers

PHP function to generate v4 UUID

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

Jun 4 in PHP by Kichu
• 19,040 points
312 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 in PHP by narikkadan
• 37,660 points
55 views
0 votes
0 answers

Format die(); Message in PHP

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

Jun 10 in PHP by narikkadan
• 37,660 points
45 views
0 votes
0 answers

How to use PHP htmlentities()?

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

Jun 10 in PHP by narikkadan
• 37,660 points
36 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 in PHP by narikkadan
• 37,660 points
34 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 in PHP by Kichu
• 19,040 points
50 views
0 votes
0 answers

Creating a search form in PHP [duplicate]

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

Jun 9 in PHP by Kichu
• 19,040 points
51 views
0 votes
0 answers

PHP switch statement returns invalid output

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

Jun 9 in PHP by Kichu
• 19,040 points
48 views
0 votes
0 answers

If isset $_POST

I have a form on one page ...READ MORE

May 28 in PHP by Kichu
• 19,040 points
552 views
0 votes
0 answers

json_decode to array

I want to decode a JSON string ...READ MORE

Jun 3 in PHP by Kichu
• 19,040 points
284 views
0 votes
0 answers

PHP - If variable is not empty, echo some html code

I want to display some HTML code ...READ MORE

Jun 4 in PHP by Kichu
• 19,040 points
232 views
0 votes
0 answers

PHPMailer: SMTP Error: Could not connect to SMTP host

I am having trouble sending mail through ...READ MORE

May 8 in PHP by Kichu
• 19,040 points
1,378 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 in PHP by Kichu
• 19,040 points
77 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 in PHP by Kichu
• 19,040 points
67 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 in PHP by Kichu
• 19,040 points
238 views
0 votes
0 answers

Php, wait 5 seconds before executing an action

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

Jun 7 in PHP by Kichu
• 19,040 points
54 views
0 votes
0 answers

php index of item

I have this array: $fruit = array('apple','orange','grape'); How can ...READ MORE

May 29 in PHP by Kichu
• 19,040 points
434 views
0 votes
0 answers

Merge PDF files with PHP

Is it possible to merge multiple pdf ...READ MORE

May 27 in PHP by Kichu
• 19,040 points
521 views
0 votes
0 answers

Can anyone confirm that phpMyAdmin AllowNoPassword works with MySQL databases?

I have a version of phpMyAdmin located ...READ MORE

Jun 3 in PHP by Kichu
• 19,040 points
215 views
0 votes
0 answers

How can I make a PHP counter?

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

Jun 7 in PHP by Kichu
• 19,040 points
44 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 in PHP by Kichu
• 19,040 points
210 views
0 votes
0 answers

Delete a database in phpMyAdmin

How to delete a database in phpMyAdmin? READ MORE

Jun 7 in PHP by Kichu
• 19,040 points
38 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 in PHP by Kichu
• 19,040 points
24 views
0 votes
0 answers

Check if file exists in php

I have this code: if (!(file_exists(http://mysite.com/images/thumbnail_1286954822.jpg))) { ...READ MORE

Jun 4 in PHP by Kichu
• 19,040 points
114 views
0 votes
0 answers

How to convert rupee as paise with php?

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

Jun 4 in PHP by Kichu
• 19,040 points
100 views
0 votes
0 answers

Create a Subdomain in godaddy hosting using PHP

Is there any easiest way to create ...READ MORE

Jun 3 in PHP by Kichu
• 19,040 points
124 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 in PHP by Kichu
• 19,040 points
172 views
0 votes
0 answers

How to use api.dpd.co.uk api integration with php

I have been assigned the task of ...READ MORE

Jun 2 in PHP by Kichu
• 19,040 points
155 views
0 votes
0 answers

PHP upload image

I have a config.php file that connects ...READ MORE

Jun 4 in PHP by Kichu
• 19,040 points
61 views
0 votes
0 answers

How to run php files on my computer?

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

Jun 4 in PHP by Kichu
• 19,040 points
50 views
0 votes
0 answers

Check if variable empty

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

Jun 4 in PHP by Kichu
• 19,040 points
47 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 in PHP by Kichu
• 19,040 points
40 views
0 votes
0 answers

How can I check if an array contains a specific value in php?

I have a PHP variable of the ...READ MORE

Jun 4 in PHP by Kichu
• 19,040 points
40 views
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 in PHP by Kichu
• 19,040 points
134 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 in PHP by Kichu
• 19,040 points
131 views
0 votes
0 answers

PHP | define() vs. const

In PHP, there are two ways to ...READ MORE

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

Creating a very simple 1 username/password login in php

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

May 29 in PHP by Kichu
• 19,040 points
284 views
0 votes
0 answers

Edit PHP query code depending on image map clicked area using AJAX

I am working on an image map ...READ MORE

Jun 3 in PHP by Kichu
• 19,040 points
67 views
0 votes
0 answers

Establishing PHP connection with localhost server?

I am having trouble connecting my PHP ...READ MORE

Jun 3 in PHP by Kichu
• 19,040 points
62 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 in PHP by Kichu
• 19,040 points
58 views
0 votes
0 answers

How to pop an alert message box using PHP?

How to pop an alert message box ...READ MORE

Jun 3 in PHP by Kichu
• 19,040 points
57 views
0 votes
0 answers

What Does 6k views mean and how can I format the number in PHP?

What does "6k views" mean and how ...READ MORE

Jun 2 in PHP by Kichu
• 19,040 points
86 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 in PHP by Kichu
• 19,040 points
103 views