I'm trying to get the hang OOP in PHP. in the tutorials i've noticed different function names for functions that seem to be doing the same thing. For Ex:
$query = "select * from pages where id = 1";
$result = $connection->query($query);
mysql_query ()(procedural) and query (in OOP)
theses are identical functions no?, if so, why the different naming?
mysql_fetch_array($result ) and $result->fetch_array();