Trending questions in PHP

0 votes
0 answers

PHP - Generating tokens for transactions

What would be a safe and suitable ...READ MORE

Jul 25, 2022 in PHP by Kithuzzz
• 38,000 points
484 views
0 votes
0 answers

Add Bootstrap Table With Sorting, Searching and Paging into my PHP function

I have an issue adding  bootstrap Table ...READ MORE

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

How to enable PHP's openssl extension to install Composer?

I was trying to install Laravel in ...READ MORE

Jun 19, 2022 in PHP by narikkadan
• 63,600 points
2,009 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
• 38,000 points
458 views
0 votes
0 answers

How can I write to the console in PHP?

Is it possible to write a string ...READ MORE

Jul 25, 2022 in PHP by Kithuzzz
• 38,000 points
454 views
0 votes
0 answers

PHP Create and Save a txt file to root directory

I want to create and save a file ...READ MORE

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

Remove the last character from a string

What is the fastest way to remove ...READ MORE

Jul 26, 2022 in PHP by Kithuzzz
• 38,000 points
391 views
0 votes
0 answers

The basics of php routing

I'm seeking for a how-to guide or ...READ MORE

Jul 21, 2022 in PHP by narikkadan
• 63,600 points
598 views
0 votes
0 answers

Retrieve data from db and display it in table in php .. see this code whats wrong with it?

$db = mysql_connect("localhost", "root", ""); ...READ MORE

Jul 25, 2022 in PHP by Kithuzzz
• 38,000 points
386 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,600 points
2,341 views
0 votes
0 answers

jQuery Ajax POST example with PHP

I want to send data from a ...READ MORE

Jul 25, 2022 in PHP by Kithuzzz
• 38,000 points
392 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,600 points
2,240 views
0 votes
0 answers

Remove a cookie

I try to erase cookies whenever I ...READ MORE

Jul 21, 2022 in PHP by narikkadan
• 63,600 points
553 views
0 votes
0 answers

DataTable using PHP

Is PHP capable of being used to ...READ MORE

Jul 24, 2022 in PHP by Kithuzzz
• 38,000 points
406 views
0 votes
0 answers

PHP array printing using a loop

How can I print each value of ...READ MORE

Jul 23, 2022 in PHP by Kithuzzz
• 38,000 points
437 views
0 votes
0 answers

When to use Final in PHP?

Although I am aware of what a ...READ MORE

Jul 24, 2022 in PHP by Kithuzzz
• 38,000 points
376 views
0 votes
1 answer

How to store values from foreach loop into an array?

Hello @kartik, Declare the $items array outside the loop and ...READ MORE

Sep 1, 2020 in PHP by Niroj
• 82,840 points
30,153 views
0 votes
0 answers

Artisan, creating tables in database

In Laravel 5, I'm attempting to build ...READ MORE

Jul 22, 2022 in PHP by Kithuzzz
• 38,000 points
421 views
0 votes
0 answers

phpMyAdmin: secret passphrase?

Every time I go into phpMyAdmin using ...READ MORE

Jul 21, 2022 in PHP by narikkadan
• 63,600 points
462 views
0 votes
0 answers

Check if user is admin PHP

I have a users table with this ...READ MORE

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

PHP array mapping

Is there a cleaner way than foreach to get ...READ MORE

Jul 22, 2022 in PHP by narikkadan
• 63,600 points
385 views
0 votes
0 answers

PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP

I am working on creating an application ...READ MORE

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

PHP: implode() Invalid arguments passed

I am using Codeigniter and its validation ...READ MORE

Jun 13, 2022 in PHP by narikkadan
• 63,600 points
1,983 views
0 votes
1 answer

MySQL - UPDATE multiple rows with different values in one query

Hello @kartik You can use a CASE statement to handle ...READ MORE

Jun 1, 2020 in PHP by Niroj
• 82,840 points
33,902 views
0 votes
0 answers

login system via on localhost not working

I have a login system built and ...READ MORE

Jun 20, 2022 in PHP by Kithuzzz
• 38,000 points
1,519 views
0 votes
0 answers

If isset $_POST

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

May 28, 2022 in PHP by Kichu
• 19,040 points
2,513 views
0 votes
0 answers

What are the main differences between PHPExcel and PhpSpreadsheet?

In project of PHPOffice there are two projects associated ...READ MORE

Jun 23, 2022 in PHP by narikkadan
• 63,600 points
1,313 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,477 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,466 views
0 votes
0 answers

Cannot access to localhost/xampp/index.php

When I type localhost in my browser ...READ MORE

May 30, 2022 in PHP by Kichu
• 19,040 points
2,324 views
0 votes
0 answers

How to create cron job using PHP?

 I want to create a cron job ...READ MORE

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

file_get_contents("php://input") or $HTTP_RAW_POST_DATA, which one is better to get the body of JSON request?

The file_get_contents("php://input") or $HTTP_RAW_POST_DATA - which one ...READ MORE

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

PHP Composer update "cannot allocate memory" error (using Laravel 4)

I'm on Linode 1G RAM basic plan. ...READ MORE

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

NotFoundHttpException in RouteCollection.php line 161: in laravel 5

My CollectionController looks like this . <?php namespace App\Http\Controllers; use ...READ MORE

Jun 24, 2022 in PHP by narikkadan
• 63,600 points
1,151 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,040 points
1,789 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, 2022 in PHP by Kichu
• 19,040 points
3,164 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,040 points
1,735 views
0 votes
0 answers

how to make tiktok downloader without watermark php

I want to make a PHP downloader ...READ MORE

Jun 3, 2022 in PHP by Kichu
• 19,040 points
1,990 views
0 votes
0 answers

PHP Simple Form Validation

I want a form validation like the following. Name: ...READ MORE

Jun 26, 2022 in PHP by narikkadan
• 63,600 points
993 views
+1 vote
1 answer

ERROR: Cannot add or update a child row: a foreign key constraint fails

Hello @kartik, You are getting this constraint check ...READ MORE

Aug 20, 2020 in PHP by Niroj
• 82,840 points
30,043 views
0 votes
0 answers

Completely removing phpMyAdmin

I installed Virtualmin and phpmyadmin separately using ...READ MORE

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

MySQL fetch assoc VS mysql fetch array

These are the commonly used methods to ...READ MORE

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

highlight the current page in menu in php

I wanted to make an active page ...READ MORE

Jun 23, 2022 in PHP by narikkadan
• 63,600 points
1,074 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,040 points
1,636 views
0 votes
0 answers

indexOf and lastIndexOf in PHP?

In Java, we can use indexOf and ...READ MORE

Jun 27, 2022 in PHP by narikkadan
• 63,600 points
791 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,185 views
0 votes
0 answers

Need XAMPP with PHP 5.4 version - windows

Can someone please share with me any ...READ MORE

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

PHP generate file for download then redirect

I have a PHP app that creates ...READ MORE

Jun 20, 2022 in PHP by narikkadan
• 63,600 points
1,022 views