Как подключить мою базу данных к Twilio

Я пытаюсь изменить шаги 4 и 5, чтобы вместо написания имен / номеров здесь код мог получить информацию из базы данных SQL на Bluehost, которая использует PhpMyAdmin. Я не думаю, что это слишком сложно, но я новичок. Спасибо.

<?php /* Send an SMS using Twilio. You can run this file 2 different ways: * - Upload it to a web host and load mywebhost.com/sendnotifications.php * in a web browser. * - Local server- Point the web root directory to the folder containing * this file, and load * localhost:8888/sendnotifications.php in a web browser. */ //Include the PHP TwilioRest Library // Step 1: Download the Twilio-PHP library from twilio.com/docs/libraries, // and move it into the folder containing this file. require "Services/Twilio.php"; // Step 2: set our AccountSid and AuthToken from www.twilio.com/user/account $AccountSid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"; $AuthToken = "YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY"; // Step 3: instantiate a new Twilio Rest Client $client = new Services_Twilio($AccountSid, $AuthToken); // Step 4: make an array of people we know, to send them a message. // Feel free to change/add your own phone number and name here. $people = array( "+14158675309" => "Curious George", "+14158675310" => "Boots", "+14158675311" => "Virgil", ); // Step 5: Loop over all our friends. $number is a phone number above, and // $name is the name next to it foreach ($people as $number => $name) { $sms = $client->account->messages->sendMessage( // Step 6: Change the 'From' number below to be a valid Twilio number // that you've purchased, or the (deprecated) Sandbox number "YYY-YYY-YYYY", // the number we are sending to - Any phone number $number, // the sms body "Hey $name, Monkey Party at 6PM. Bring Bananas!" ); // Display a confirmation message on the screen echo "Sent message to $name"; }