This is so very far from being valid:

if (isset($_POST['toys'])) {

    foreach($_POST['toys'] as $each_check) {

    }
}

$query = $db-&gt;query = 'SELECT * FROM `toys` WHERE SIZE = '.$each_check;


More like:

if (isset($_POST['toys'])) {
    foreach($_POST['toys'] as $each_check) {
        $query = $db-&gt;query("SELECT * FROM `toys` WHERE SIZE = '".$each_check."'");
    }
}


But should be more like:

if (isset($_POST['toys'])) {
    $query = 'SELECT * FROM `toys` WHERE SIZE = ?';
    $sth = $db-&gt;prepare($query);
    foreach($_POST['toys'] as $each_check) {
        if( ! $sth-&gt;execute(array($each_check)) ) {
            die('MySQL Error: ' . var_export($sth-&gt;error_info(), TRUE);
        }
        while ($row = $sth-&gt;fetch(PDO::FETCH_ASSOC)) {
            // code here
        }
    }
}


fetch PDO::FETCH_ASSOC multiple checkboxes
I'm new to wordpress and I'm currently converting an HTML/CSS site I made to wordpress to make it easier for my client to edit it from the admin panel.

I have provided 3 screenshots and I'll refer to them here.

The first screenshot shows how my website looks so far. It's using a template I made called homepage.php (see screenshot 3 for code). The template includes header.php which contains the logo, navigation menu etc. It has the image banner and finally includes footer.php. I want the "Our Values" part to be editable so that my client can change the text any time they need to. 

Currently, they can edit the top part which says "PROtential Coaching" and that's because it's included on the page within the admin panel and not in the template. I want the bottom part including"Our Values" to be editable from that panel too, is there a way to do this or does this content have to be static and within the template? "Our Values" and "Our People" are in a dynamic secondary navigation menu which my client can add items to if they want to, however they can't change the content for the menu item.

Images:
http://imgur.com/yq9y8SQ,5IqOPzr,SHkzrFz

Please help me out guys, I've been looking all over the place for days to get this done.
