- Twilio Cookbook(Second Edition)
- Roger Stringer
- 215字
- 2021-07-16 12:06:38
Introduction
One of the common requests I receive from clients is the option to send surveys via SMS. This chapter is based on the survey builders I've built for my clients.
Surveys are handy for seeing what features users want to build into a web app next, running contests, and generally gathering opinions.
In the first section, you'll have a way to let your users subscribe to your surveys. Then you'll build a survey builder that lets you view stats on sent surveys and also send new surveys. We'll include tracking here so that you can see what responses people send back and also give users the ability to unsubscribe from surveys.
Finally, we'll add some handy charting so that we can view the survey results on a nice chart.
This chapter will involve some SQL; you can find the sql
file in the Chapter3/
folder.
We're also going to use a class to use PHP's PDO library for database handling. This file is called pdo.class.php
and can be found in the Chapter3/
folder.
There are many ways to connect to databases in PHP, but I prefer the PDO driver because you can actually quickly tell it to connect to MySQL, SQLite, or PostgreSQL. In this book, we'll be using MySQL when we use databases.
- Web安全防護指南:基礎篇
- 物聯(lián)網檢驗檢測技術
- Go Web Scraping Quick Start Guide
- 射頻通信系統(tǒng)
- Socket.IO Real-time Web Application Development
- 圖解手機元器件維修技巧
- 物聯(lián)網之霧:基于霧計算的智能硬件快速反應與安全控制
- 通信十年:擁抱互聯(lián)網
- 5G+區(qū)塊鏈
- 網絡利他行為研究:積極心理學的視角
- 設備監(jiān)控技術詳解
- Guide to NoSQL with Azure Cosmos DB
- 區(qū)塊鏈技術與應用:打造分布式商業(yè)新生態(tài)
- 物聯(lián)網與智慧廣電
- 走近奇妙的物聯(lián)網