this is my php code
$sqla = “SELECT * FROM users
INNER JOIN registration ON users.id=registration.id WHERE users.id=‘1’”;
$resa = mysqli_query($conn, $sqla) or die(“Query not execute” . mysql_error());
while($rowa = mysqli_fetch_array($resa))
{
$name = $rowa[‘name’]);
$name = $rowa[‘email’]);
}
In that above code how to write in cakephp 3.1.3 …?
please help me.
thanks & regards,
Darshan