Jump to content


New Members
  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About ronsen

  • Rank
  1. ronsen

    PHP Help with variables

    Hello I am stuck at a point where I need to call multiple numbers for a given API This is the code provided by the API company // Send Message $my_apikey = "APIKEY"; $destination = "NUMBER"; $message = "hellotest"; $api_url = "http://blahblah.com/send_message.php"; $api_url .= "?apikey=". urlencode ($my_apikey); $api_url .= "&number=". urlencode ($destination); $api_url .= "&text=". urlencode ($message); $my_result_object = json_decode(file_get_contents($api_url, false)); Now My html code would be <div class="card-header ch-alt"> <h2>Test API</h2> </div> <div class="card-body card-padding"> API Key: * <br> <option value='APIKEY'>APIKEY Value </option> </select><br> Destination Number: * <br> <input class="form-control" type="text" id="test_number" required><br> <br><br> Text: * <br> <textarea class="form-control" id="test_text" required rows=5></textarea><br> </div> Now how do I insert multiple numbers on the Destination number...when i give commas, it gives errors but the message goes with single number Need hlp

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.