title: shorter way to place data on database
body: <p>After collecting variables for an article on client side here is the php code for placing them on a mysql database.  </p>
  
  <p>It works but is there a shorter way, without repeating all items - <code>five times</code>:<br>
  - once in <code>btn_save</code> declaration<br>
  - twice in <code>sql</code> declaration<br>
  - twice in <code>st</code> execution  </p>
  
  <pre><code>function btn_save($img, $up, $branch, $title, $sub, $intro, $story, $down, $linked, $tags, $status){
      global $db;
      $sql = "insert into arts (img, up, branch, title, sub, intro, story, down, linked, tags, status) values (:aimg, :aup, :abranch, :atitle, :asub, :aintro, :astory, :adown, :alinked, :atags, :astatus)";
      $st = $db-&gt;prepare($sql);
      $st-&gt;execute([
          ":aimg" =&gt; $img,
          ":aup" =&gt; $up,
          ":abranch" =&gt; $branch,
          ":atitle" =&gt; $title,
          ":asub" =&gt; $sub,
          ":aintro" =&gt; $intro,
          ":astory" =&gt; $story,
          ":adown" =&gt; $down,
          ":alinked" =&gt; $linked,
          ":atags" =&gt; $tags,
          ":astatus" =&gt; $status
      ]);
  }
  </code></pre>