时时商务社区

标题: example2.php [打印本页]

作者: xgnic    时间: 2018-2-14 09:46

                                                           
                        example2.php
getxml("select * from bands left join albums on bands.id = bandsID");
?>
输出结果
$xmlstring = '
   
        
            
                1
                The Blabbers
                1998
                London
                Rock'n'Roll
               
                    1
                    1
                    BlaBla
                    1998
                    Their first one
               
               
                    2
                    1
                    More Talks
                    2000
                    The second one
               
            
            
                2
                Only Stupids
                1997
                New York
                Hip Hop
               
                    3
                    2
                    All your base...
                    1999
                    The Classic
               
            
        
   
'
                    
                     
            
            
        




欢迎光临 时时商务社区 (http://bbs.4435.cn/) Powered by Discuz! X3.2