Question: / * * TODO * Implement DAO method used add new investor to investor table and cap - table EXAMPLE: public function investor ( $first
TODO
Implement DAO method used add new investor to investor table and captable
EXAMPLE:
public function investor$firstname, $lastname, $email, $company
$sql "INSERT INTO investors firstname, lastname, email, company VALUES :firstname, :lastname, :email, :company;
$stmt $thisconnprepare$sql;
$stmtexecutefirstname' $firstname, 'lastname' $lastname, 'email' $email, 'company' $company;
$result $stmtfetchPDO::FETCHASSOC;
return $result;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
