s1
This commit is contained in:
@@ -366,7 +366,7 @@
|
||||
"callbackData" => "some text here",
|
||||
"type" => "Template",
|
||||
"template" => [
|
||||
"name" => "boost_conversion",
|
||||
"name" => $_GET['send-whatsapp-id'],
|
||||
"languageCode" => "en",
|
||||
"headerValues" => [
|
||||
"header_variable_value"
|
||||
@@ -391,12 +391,14 @@
|
||||
$context = stream_context_create($options);
|
||||
$fp = fopen($url, 'r', false, $context);
|
||||
if ($fp === FALSE) {
|
||||
echo 'Error occurred';
|
||||
// echo 'Error occurred';
|
||||
echo $fp;
|
||||
} else {
|
||||
$response = stream_get_contents($fp);
|
||||
|
||||
if ($response === FALSE) {
|
||||
echo 'Error reading response';
|
||||
// echo 'Error reading response';
|
||||
// echo $response;
|
||||
} else {
|
||||
if(isset($_GET['send-whatsapp-id'])){
|
||||
$templateName = $_GET['send-whatsapp-id'];
|
||||
@@ -632,7 +634,6 @@
|
||||
<div class="flex flex-row place-content-between p-3" style="border-bottom: 2px solid #7E8299; border-style: dashed;">
|
||||
<div class="flex flex-col">
|
||||
<p style="font-size: 20px; font-weight: bold;">Communication:</p>
|
||||
<p><?php echo $saved_message; ?></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user