Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP Help
#1
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.
Reply
#2
Nevermind, solved it thanks.
Reply
#3
(11-30-2010, 06:35 AM)Jake Wrote: Nevermind, solved it thanks.

You're quite welcome Smile
[Image: TYzKF.png]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  PHP Framework List: An Ultimate Guide to 102 PHP Frameworks for Web Developers tk-hassan 0 956 07-27-2020, 11:26 PM
Last Post: tk-hassan
  PHP Video Tutorials (PHP For Beginners) Eleqtriq 4 3,705 10-10-2011, 01:00 PM
Last Post: Greyersting

Forum Jump:


Users browsing this thread: 4 Guest(s)