Mercurial > hg > extraction-interface
view interface/add_missing_books_to_sections.php @ 26:579f03f8bee5
merge table books_info into table books (execute Home/Test)
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Tue, 03 Mar 2015 10:33:42 +0100 |
parents | 883ad980a43b |
children |
line wrap: on
line source
<?php include_once('Lib_mb_utf8.php'); include_once('config.php'); include_once('edit_section_db.php'); set_time_limit(0); ini_set('memory_limit', '-1'); $link_mysql = mysql_connect($mysql_server, $mysql_user, $mysql_password); mysql_query("SET NAMES utf8"); if (!$link_mysql) { die('Could not connect: ' . mysql_error()); } $db_selected = mysql_select_db($mysql_database, $link_mysql); if (!$db_selected) { die ('Can\'t use foo : ' . mysql_error()); } add_missing_books_to_sections();