We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
namespace Database; class Column{ private $field; private $type; private $extra; private $not_null; private $primary_key; private $unique_key; private $foreign_key;
應該寫成:
分段落
通常 namespace 會跟 class 分開
The text was updated successfully, but these errors were encountered:
datebase.php
namespace Database; use \PDO; use \Exception;
改成
Sorry, something went wrong.
install.php
function loadDataToTableFromCSV($db, $tableName, $filename){ $datas = []; //ther storage for datas; if (($handle = fopen("data_csv/" . $filename, "r")) !== FALSE) { $datafields = fgetcsv($handle, 1000, ","); while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) { array_push($datas, $data); } fclose($handle); try { $db->insertIntoTable_batch($tableName, $datafields, $datas); } catch (Exception $e) { echo $e->getMessage(); } }else{ throw new Exception("loadDataToTableFromCSV(): this file can't open!", 1); } }
程式碼分段
ericmina83
No branches or pull requests
應該寫成:
分段落
通常 namespace 會跟 class 分開
The text was updated successfully, but these errors were encountered: