Importing MySQL Table From An Uploaded CSV File

Loading A Table From An Uploaded .csv File <?php include_once('config.php'); //—– CONNECT TO DATABASE —– mysql_connect("localhost", $songs_db_username, $songs_db_password, $songs_db_name) or die("cannot connect"); mysql_select_db($songs_db_name) or die(mysql_error()); //Select the database so it doesn't need to be specified in mysql functions if ( (isset($_POST[‘action’])) && ($_POST[‘action’] == "uploading_all_songs_file") ) { //—————————————- //—– UPLOADING NEW ALL SONGS FILE —– […]

Read More