Reputation: 4854
This is defined constant in config file.
define(BASE_URL, "http://example.com/lc-latest/");
I want to store in a variable for sending a confirmation email to complete the registration
$website=echo BASE_URL;
Upvotes: 1
Views: 1372
Reputation: 889
$website = BASE_URL ;
<a href=" '.$website.'/confirm.php?accountid=' . $chk_number . '">Click here</a>
Upvotes: 1