public function postIdOfPostupdate($id)
    {
        // $record is a stdClass
        $record = DB::table('postupdates')
            ->select('post_id')
            ->where('id', '=', $id)
            ->first()
        ;

        return $record->post_id;
    }
public function postIdOfPostupdate($id)
    {
        // $record is a stdClass
        $record = DB::table('postupdates')
            ->select('post_id')
            ->where('id', '=', $id)
            ->first()
        ;

        return $record->post_id;
    }
public function postIdOfPostupdate ( $ id ) { // $record is a stdClass $ record = DB :: table ( 'postupdates' ) -> select ( 'post_id' ) -> where ( 'id' , '=' , $ id ) -> first ( ) ; return $ record -> post_id ; }
What is the post_id of a given postupdate?

@param  int    $id     The ID of a postupdate
@return mixed
What is the post_id of a given postupdate?