First of all thank you I try to understand the meaning of hook.
I tried to do the following code myself to print Affiliate Commission but it does not show on the screen.
<?php
use Illuminate\Database\Capsule\Manager as Capsule;
function hook_balance($vars){
$client = Menu::context('client');
return array("balance" => $client->balance);
}
add_hook("ClientAreaPage", 1, "hook_balance");
I did this with the information you gave.
{php}
$dateCreated = date("Y-m-d H:i:s", strtotime($_REQUEST["DateOfRequest"]));
echo $dateCreated;
{/php}
But read on screen : 1970-01-01 00:00:00
I guess I do not understand that English is not very good.
{php}
$dateCreated = date("Y-m-d H:i:s", strtotime($_REQUEST["DateOfRequest"]));
echo $dateCreated;
{/php}
I did it, but it gives the value.
Hi friends want to put the date that the customer panel is the registration of the members.If you have the code of the variable, please tell me or cheer if you can help.
Hi friends want to put the date that the customer panel is the registration of the members.If you have the code of the variable, please tell me or cheer if you can help.