Declare as property OR pass as method arguments
<p>I am writing a MySQL class.I notice that this cosfuses me already.I need to passing for example the table as an argument to a function or declare a property and do a setter method first before executing.</p>

<pre><code>public $table;
public function fetchByUniqueId($table,$id){
    $query = "SELECT * FROM etc";
}
</code></pre>
