Hello im trying to make html contact form that sends the info to whatsapp and i’m not reciving the messages on my whatsapp, i will post here the code.. and another question after i open whatsapp sandbox on Twilio i need to put another link on Twilio WebHook??

// Update the path below to your autoload.php, 
// see https://getcomposer.org/doc/01-basic-usage.md 
require_once '/twilio-php-main/src/Twilio/autoload.php';  
use TwilioRestClient; 
fullname =_POST['fullname'];
phone    =_POST['phone'];
message  =_POST['message'];

twilio   = new Client(sid, token);message = twilio->messages                    ->create("whatsapp:+972506038686", // to                             array(                                 "from" => "whatsapp:+14155238886",                                       "body" => "New clinet from website.n Name:name nPhone: phone nMessage:message" 
<!DOCTYPE html>
  <title>Page Title</title>
  <meta name='viewport' content='width=device-width, initial-scale=1'>

  <div class="container">
    <form method="post" action="main.php">
      <label for="fullname">Full Name</label>
      <input type="text" id="fullname" name="fullname" placeholder="Your full name..">
      <label for="phone">Phone Number</label>
      <input type="text" id="phone" name="phone" placeholder="Your phone number..">
      <label for="message">Message</label>
      <textarea id="message" name="message" placeholder="Write something.." style="height:100px"></textarea>
      <input type="submit" value="Submit">
body {font-family: Arial, Helvetica, sans-serif;}
*{box-sizing: border-box;}input[type=text], select, textarea {width: 100%;padding: 12px;border: 1px solid #ccc;border-radius: 4px;box-sizing: border-box;margin-top: 6px;margin-bottom: 16px;resize: vertical;}input[type=submit] { background-color: #bd1321;color: white;padding: 12px 20px;border: none;border-radius: 4px;cursor: pointer;}input[type=submit]:hover {background-color: #9c0814;}.container {border-radius: 5px;background-color: #f2f2f2;padding: 20px;}

Anonymous Asked question May 14, 2021