1 year ago

#71771

test-img

Swati Bhalla

Date(D) function in PHP Does not work without quotes on xampp

Date(D) function in PHP Does not work without quotes on xampp

In this following code

$D = date(D);
if ($D == Mon) {
    week = 1;
    $weeks .= "(FIND_IN_SET($week, weeks))";
}
return $weeks;

Please help me how can I run this code?

php

syntax

0 Answers

Your Answer

Accepted video resources