snipplrCallback({"id":46808,"title":"export-mysql-to-excel--csv-via-php","source":"
  1. <?php<\/span><\/div><\/li>
  2. include<\/span> 'config.php'<\/span>;<\/span><\/div><\/li>
  3. include<\/span> 'opendb.php'<\/span>;<\/span><\/div><\/li>
  4.  <\/div><\/li>
  5. $select<\/span> =<\/span> "SELECT * from table_name"<\/span>;<\/span><\/div><\/li>
  6.  <\/div><\/li>