Code your own poll in Wordpress with PHP (part 3 in our Database series)
725 views · Published 17 December 2018 · 17:24 · Indexed 4 October 2026
Channel: cartoonsmart · 2018 · Education
Hopefully you've watched part 1 and 2 in this series, but if not, well you've been warned. So continuing onward we will now create a simple poll on our Wordpress template page. We will grab a poll ID from a query string variable. Then use that to look up the question and answers in the database. And of course we need to log into PHPMyAdmin to create our own table to pull and submit data too. If you've got a Wordpress site, you should have access to PHPMyAdmin. Along the way we will also learn how to grab the Wordpress login credentials from the global $wpdb variable, save those in a separate .php along with our mysqli variable (used in our main script to connect to the database table). And worth noting, CartoonSmart.com subscribers all get free hosting now too, so if you want to try something of this yourself, sign up! *** Like our tutorials? Become a subscriber at http://CartoonSmart.com and get over $8000 in game art, exclusive iOS Starter Kits, and access to ALL of our premium lessons***
More from this channel
-
7:29
CartoonSmart Actionscript 3 Basics Tutorial Part 3 of 8
-
10:00
CartoonSmart Actionscript 3 Basics Tutorial Part 6 of 8
-
10:01
iPhone/iPad Basics Tutorial Part 06 of 12
-
8:08
iPhone/iPad Basics Tutorial Part 12 of 12
-
22:46
3D Revolve Tool: Exploring Adobe Illustrator Tutorial
-
39:15
The Box2D Template Explained
-
9:34
Changing the Box2D Template for Retina Display
-
22:24
The Sprite Kit Template Explained and Tweaked (continued)