質問編集履歴
1
変更前コード追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -36,10 +36,18 @@
|
|
36
36
|
|
37
37
|
}
|
38
38
|
|
39
|
-
|
40
|
-
|
41
|
-
var_dump(implode(',',$param));
|
42
|
-
|
43
39
|
$result = $stmt->add(implode(',',$param));
|
44
40
|
|
45
41
|
```
|
42
|
+
|
43
|
+
以下のようなコードを上記のように記述できたらいいなと思っています。
|
44
|
+
|
45
|
+
```php
|
46
|
+
|
47
|
+
require_once("Customer.php");
|
48
|
+
|
49
|
+
$stmt = new Customer();
|
50
|
+
|
51
|
+
$result = $stmt->add($_POST['customer_id'],$_POST['customer_name'],$_POST['password'],$_POST['furigana'],$_POST['postal'],$_POST['address'],$_POST['tel'],$_POST['birthday']);
|
52
|
+
|
53
|
+
```
|