This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"cmd": ["g++", "-o", "${file_path}/${file_base_name}.exe", "-static-libgcc", "-static-libstdc++", "*.cpp"], | |
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", | |
"working_dir": "${file_path}", | |
"selector": "source.c, source.cpp, source.c++", | |
"path": "c:/Program Files/mingw-w64/mingw64/bin", | |
"shell": true, | |
"variants": [ | |
{ | |
"name": "Run", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ModelCatalogUpload extends Model { | |
public function getDataFromFile($file) | |
{$this->csv2array($file);} | |
public function selectProduct() | |
{ $this->delProducts(); | |
$sql = "SELECT * FROM temp_products "; | |
$query = $this->db->query($sql); |