php tag

731 questions


2 answers
454 views
0
How to use PHP to determine if it is a Friday at the end of the month

Please tell me how to use PHP to determine if it is Friday of the end of the month.Carbon can determine the day of the week, but can't you determine the day of the week 曜日?Poi...$date=YYYY-MM-DD $test...

php
2 years ago

1 answers
485 views
0
I want PHP to determine if a number is included in the value of a particular array.

I'm a beginner in PHP.One variable: TestPositionIf the number in the array of A is ASimilarly, if included in the array of B, BI would like to create a function that returns .I tested if I could use i...

2 years ago

2 answers
397 views
0
Understanding $this Showing the Instance Himself in PHP

One reference book (Details PHP7 + MySQL Introductory Note p220)It is written in as follows.[ ] in <Reference Books>// [$name is to find local variable with the same name] value is null.In this ...

php
2 years ago

1 answers
254 views
0
There is a page where the location of the relevant company is displayed on a map from the regional search, but two of the same companies are displayed on some pages.

There is a page where the location of the relevant company is displayed on a map from the regional search, but two of the same companies are displayed on some pages.Example) Search results xx·Company ...

2 years ago

4 answers
438 views
0
Constant error 'const' (T_CONST)

PHP encountered the following constant error:Why?error messages:Symphony\Component\Debug\Exception\FatalThrowableErrorsyntax error, unexpected 'const' (T_CONST)Codes Affected:const$ABBB=300;running en...

php
2 years ago

1 answers
292 views
0
How to change the mark when there is no image (I want to change it to text)

For example, when there is no image, such as or replacement text when a user does not post an image.I'm thinking about using text this time because the image might be heavy.I'm in trouble because I c...

2 years ago

1 answers
342 views
0
PHP: There is an error in the INSERT INTO line and it cannot be resolved.

There is an error message in the INSERT INTO section of line 34, but I don't know.Maybe something else is wrong.Error Message Parse error:syntax error, unexpected variable $sql in C:\xampp\htdocs\php\...

php
2 years ago

1 answers
387 views
0
403 Forbidden when deployed to Heroku

environmentdocker-compose.yml app containerphp —7.4-apache db containermysql: 5.5 (MySQL version matches the ClearDB of the Heroku add-on) The error screen looks like this↓ForbiddenYou don't have perm...

2 years ago

1 answers
431 views
0
Password is not hashed.

environmentmampphp7.4mysql 5.7phpmyadminWhat you want to do and what you can't doThe current feature is that after registering with signup.php and saving the name, password column to the users table, ...

2 years ago

1 answers
310 views
0
Please tell me the meaning of this error code.

I know very little about the program.Currently, there is an error on the index page of WooCommerce's shop page, which is troubling me.Could someone please decode the error code displayed on the web co...

2 years ago
« - 4 - »

© 2024 OneMinuteCode. All rights reserved.