Support Forums

Full Version: PHP Help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I was editing a modification on my website; here is the code already modified
PHP Code:
if( $content_title_only )
            {
                
$k 'tid';
                
                
$this->DB->build( array( 
                                    
'select'   => "t.*",
                                    
'from'       => array( 'topics' => 't' ),
                                     
'where'       => 't.tid IN( ' implode','$ids ) . ')',
                                    
'add_join' => array_merge( array( array( 'select'    => 'p.*',
                                                                             
'from'        => array( 'posts' => 'p' ),
                                                                              
'where'    => 'p.pid=t.topic_firstpost',
                                                                              
'type'        => 'left' ),
                                                                      array( 
'select'    => 'm.member_id, m.members_display_name, m.members_seo_name'm.member_group_id AS starter_group
                                                                             
'from'        => array( 'members' => 'm' ),
                                                                              
'where'    => 'm.member_id=p.author_id',
                                                                              
'type'        => 'left' ) ), $_post_joins ) ) );
            } 

However, it pulls this error:
PHP Code:
ErrorParse errorsyntax errorunexpected T_ASexpecting ')' in DIRECTORY on line 325 

(Line 325 is array( 'select' => 'm.member_id...etc))

Any and all help is appreciated, thanks.
Nevermind, solved it thanks.
(11-30-2010, 06:35 AM)Jake Wrote: [ -> ]Nevermind, solved it thanks.

You're quite welcome Smile