Trending questions in PHP

0 votes
0 answers

Interface or an Abstract Class: which one to use?

Could you please explain when I should ...READ MORE

Aug 8 in PHP by Kithuzzz
• 20,660 points
78 views
0 votes
0 answers

Navigate back with PHP form submission

So here's how it works: I use ...READ MORE

Aug 7 in PHP by Kithuzzz
• 20,660 points
121 views
0 votes
0 answers

How to add extra whitespace in PHP?

I was wondering if there was a ...READ MORE

Aug 8 in PHP by Kithuzzz
• 20,660 points
76 views
0 votes
0 answers

How to resolve ERR_CACHE_MISS with PHP after using back button?

On one of my website pages, there ...READ MORE

Aug 4 in PHP by Kithuzzz
• 20,660 points
211 views
0 votes
0 answers

PHP Simple Search Form

Since I'm new to PHP, I'd like ...READ MORE

Aug 8 in PHP by Kithuzzz
• 20,660 points
71 views
0 votes
0 answers

Cookies vs. sessions

A few months ago, I first used ...READ MORE

Aug 8 in PHP by Kithuzzz
• 20,660 points
68 views
0 votes
0 answers

Form submit with AJAX passing form data to PHP without page refresh

Can anyone tell me why this bit ...READ MORE

Jul 29 in PHP by Kithuzzz
• 20,660 points
493 views
0 votes
0 answers

php/gd can't remove background after creating a circular image

I'm positioning a circular picture with a ...READ MORE

Aug 4 in PHP by Kithuzzz
• 20,660 points
232 views
0 votes
0 answers

PHP random string generator

I want to create a randomized string in ...READ MORE

Jul 26 in PHP by Kithuzzz
• 20,660 points
606 views
0 votes
0 answers

Illegal string offset Warning PHP

After updating my PHP version to 5.4.0-3, ...READ MORE

Jul 25 in PHP by Kithuzzz
• 20,660 points
612 views
0 votes
0 answers

php records navigation

Code: <?php $host='localhost'; $user='root'; $password='root'; $database='database'; $startindex=@$_REQUEST['seek']; $db=mysql_connect($host, ...READ MORE

Aug 8 in PHP by Kithuzzz
• 20,660 points
40 views
0 votes
0 answers

how to write javascript code inside php

I have a form, and when I ...READ MORE

Aug 7 in PHP by Kithuzzz
• 20,660 points
69 views
0 votes
0 answers

Best way to initialize (empty) array in PHP

Because of object creation and instantiation, it ...READ MORE

Aug 2 in PHP by Kithuzzz
• 20,660 points
289 views
0 votes
0 answers

How does PHP 'foreach' actually work?

Let me start by stating that I ...READ MORE

Aug 7 in PHP by Kithuzzz
• 20,660 points
61 views
0 votes
0 answers

How to send a GET request from PHP?

I intend to use PHP to fulfil ...READ MORE

Aug 7 in PHP by Kithuzzz
• 20,660 points
55 views
0 votes
0 answers

PHP import Excel into database (xls & xlsx)

One of the plugins I looked for ...READ MORE

Jul 30 in PHP by Kithuzzz
• 20,660 points
391 views
0 votes
0 answers

PHP Elvis operator vs null coalescing operator

Can someone clarify the differences between PHP's ...READ MORE

Aug 3 in PHP by Kithuzzz
• 20,660 points
190 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 in PHP by Kithuzzz
• 20,660 points
45 views
0 votes
0 answers

Converting an integer to a string in PHP

Is it possible to change an integer ...READ MORE

Aug 1 in PHP by Kithuzzz
• 20,660 points
264 views
0 votes
0 answers

Does the string "php?id=1" within a http GET request mean there is necesseraly an sql request to a back-end database?

You can use Google dorks like "inurl:.php?id=" ...READ MORE

Aug 6 in PHP by Kithuzzz
• 20,660 points
72 views
0 votes
0 answers

PHP form - Registration Successful Message on New Page

After each entry has been verified, the ...READ MORE

Jul 24 in PHP by Kithuzzz
• 20,660 points
630 views
0 votes
0 answers

PHP FILTER_VALIDATE_EMAIL does not work correctly

I employ PHP 5.3.10. Here is the ...READ MORE

Aug 4 in PHP by Kithuzzz
• 20,660 points
120 views
0 votes
0 answers

Remove .php extension with .htaccess

I looked here and read the Apache ...READ MORE

Jul 30 in PHP by Kithuzzz
• 20,660 points
360 views
0 votes
0 answers

How to echo define value in PHP?

 Code : <?php define("SITENAME","Page TITLE");?> I want to echo ...READ MORE

Aug 6 in PHP by Kithuzzz
• 20,660 points
51 views
0 votes
0 answers

What is cURL in PHP?

I frequently come across the word "cURL" ...READ MORE

Aug 6 in PHP by Kithuzzz
• 20,660 points
45 views
0 votes
0 answers

GD Library extension not available with this PHP installation Ubuntu Nginx

When I try to upload a file ...READ MORE

Jul 29 in PHP by Kithuzzz
• 20,660 points
389 views
0 votes
0 answers

PHP - SSL certificate error: unable to get local issuer certificate

PHP 5.6.3 is being used by XAMPP ...READ MORE

Jul 29 in PHP by Kithuzzz
• 20,660 points
383 views
0 votes
0 answers

What is meaning of tilde(~) symbol mean in the context of this PHP documentation page?

Please explain the significance of the tilde() ...READ MORE

Aug 5 in PHP by Kithuzzz
• 20,660 points
80 views
0 votes
0 answers

In mailto: replace subject and body adding %20 instead space in all file php using notepad++

I do have a query... Each post ...READ MORE

Aug 4 in PHP by Kithuzzz
• 20,660 points
71 views
0 votes
0 answers

What are .tpl files? PHP, web design

Someone wants me to revamp a PHP-powered ...READ MORE

Aug 4 in PHP by Kithuzzz
• 20,660 points
69 views
0 votes
0 answers

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

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

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

Reading an Excel file in PHP

I'm attempting to read an Excel document ...READ MORE

Jul 29 in PHP by Kithuzzz
• 20,660 points
353 views
0 votes
0 answers

How to delete image form folder and database

With the code below, I'm displaying data ...READ MORE

Jul 26 in PHP by Kithuzzz
• 20,660 points
483 views
0 votes
0 answers

How to generate a create table script for an existing table in phpmyadmin?

How can I generate a create table ...READ MORE

Aug 4 in PHP by Kithuzzz
• 20,660 points
84 views
0 votes
0 answers

How to find array / dictionary value using key?

I want to use the key to ...READ MORE

Aug 1 in PHP by Kithuzzz
• 20,660 points
210 views
0 votes
0 answers

How to take user input like prompt() but in PHP?

How can I create a javascript equivalent ...READ MORE

Aug 1 in PHP by Kithuzzz
• 20,660 points
176 views
0 votes
0 answers

Using reactJS, php and mysql is possible?

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

Aug 4 in PHP by Kithuzzz
• 20,660 points
40 views
0 votes
0 answers

How to check if an array value exists?

How can I check if $something['say'] has the value ...READ MORE

Aug 1 in PHP by Kithuzzz
• 20,660 points
169 views
0 votes
0 answers

I can't access http://localhost/phpmyadmin/

I am not able to access:  localhost/phpmyadmin/ ...READ MORE

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

Get driving distance between two points using Google Maps API

Using Google Maps API, I'm attempting to ...READ MORE

Jul 31 in PHP by Kithuzzz
• 20,660 points
246 views
0 votes
0 answers

Why command "php artisan serve" not working?

My Laravel on this path: C:\Users\Mad\Work\trunk\product\backend\v1.2.1\laravel But it is ...READ MORE

Jul 26 in PHP by Kithuzzz
• 20,660 points
461 views
0 votes
0 answers

Using reactJS, php and mysql is possible?

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

Aug 4 in PHP by Kithuzzz
• 20,660 points
70 views
0 votes
0 answers

PHP Connection failed: SQLSTATE[HY000] [2002] Connection refused

I am trying to connect MySQL Database ...READ MORE

Jun 24 in PHP by narikkadan
• 37,660 points
1,837 views
0 votes
0 answers
0 votes
0 answers

How can I call a WordPress shortcode within a template?

There's a plugin for the Contact us form. All ...READ MORE

Aug 3 in PHP by Kithuzzz
• 20,660 points
67 views
0 votes
0 answers

Is it possible to create static classes in PHP (like in C#)?

I'm trying to make a static class ...READ MORE

Aug 4 in PHP by Kithuzzz
• 20,660 points
47 views
0 votes
0 answers

PHP date with timezone

I was wondering how to add the ...READ MORE

Aug 3 in PHP by Kithuzzz
• 20,660 points
61 views
0 votes
0 answers

PHP cURL GET request and request's body

I want to use cURL for a GET request ...READ MORE

Jul 25 in PHP by Kithuzzz
• 20,660 points
473 views
0 votes
0 answers

Setting the Timezone for PHP in the php.ini file

I'm trying to change the default PHP ...READ MORE

Aug 1 in PHP by Kithuzzz
• 20,660 points
171 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 in PHP by Kithuzzz
• 20,660 points
41 views