Place four wood boards measuring 2 by 2 by 28 on a flat surface. Sand all sides of the wood with fine-grit sandpaper, leaving smooth wood free from splinters and imperfections. The boards serve as the folding legs on your table.
Dip a foam paintbrush into a can of wood stain that matches your table top and brush across the wood. Brush the stain with the natural grain of the wood. After 60 seconds, wipe off the excess stain with a rag. Flip the wood over and repeat on each side. Repeat this step with each leg.
Open a folding leg bracket so that it resembles an uppercase L. Place the bracket flat against the end of the table leg and slide it down the leg until it sits flush with the end of the leg. Turn a 1 1/2-inch wood screw through the bracket and into the table leg. Turn a second screw through the second hole in the bracket. The bracket should have two holes touching the leg. Repeat this step with each table leg.
Turn your tabletop upside down. Close the brackets on each leg and place them upside down on the table. The top of the bracket should touch the table. Move the legs around the table until each one sits approximately 2 inches from the edge of the table.
Open one bracket, raising the leg straight up and putting the top metal piece of the bracket flat against the table. Screw two 1 1/2-inch wood screws through the bracket and into the wooden tabletop. Repeat this step with the remaining three legs. Turn the table over and use it. When you want to fold the legs in, press down on each one until it sits flat with the table.