Skip to content
Snippets Groups Projects
Commit fa430cb3 authored by Matthieu Guffroy's avatar Matthieu Guffroy
Browse files

test change numTel in num_tel

parent c7bc7e90
No related branches found
No related tags found
No related merge requests found
...@@ -2,15 +2,15 @@ ...@@ -2,15 +2,15 @@
class Client extends Personne class Client extends Personne
{ {
protected $numTel; protected $num_tel;
public function numTel() public function num_tel()
{ {
return $this->numTel; return $this->num_tel;
} }
public function setNumTel($numTel) public function setNum_tel($num_tel)
{ {
$this->numTel = $numTel; $this->num_tel = $num_tel;
} }
} }
\ No newline at end of file
...@@ -76,7 +76,7 @@ class Objet ...@@ -76,7 +76,7 @@ class Objet
//$req = "INSERT INTO ".$dbName." (".implode(",", array_keys($values)).") //$req = "INSERT INTO ".$dbName." (".implode(",", array_keys($values)).")
//VALUES (".implode(",", array_values($values)).")"; //VALUES (".implode(",", array_values($values)).")";
$req = "INSERT INTO client (id,nom,prenom,numTel) VALUES (nextval('client_id_seq'::regclass), :nom, :prenom, :numTel)"; $req = "INSERT INTO client (id,nom,prenom,num_tel) VALUES (nextval('client_id_seq'::regclass), :nom, :prenom, :num_tel)";
//debug //debug
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment