title: How to redirect user back to the same table location?
body: <p>I have a dynamically table that it is incremented every time a new product is added to the database.</p>
  
  <p>Each row of this table contains the name of the product, categories etc etc, you get the idea, it also contains a column with a link to another page, this link is only clicked if user wants to edit a specific product. Once user clicks on the link and makes the changes to the product they get redirect back to the product table page. That is working fine until you have 1000s products and you want to update row 570 and 571, now it becomes a bit annoying as once they get redirect back to the product table from editing row 570, the user gets redirect as any other page to the top, I would like to redirect the user back to the row 570 so that they dont have to scroll all the way down to 571 again.</p>
  
  <p>Hope you guys understand what I am trying to say. I have tried using anchors in the past, but failed to get it working, I wish I had the code still but I have deleted since was no good, but users are now complaining about this so i need to fix it now.</p>
  
  <p>Im not looking for you guys to post a code, I just want some advice on what i need to do, does anchors work with tables row's location? as i tried them in the past and it didnt work, could have just been bad coding. What would you guys advice me to do? </p>
  
  <pre><code>$product_list .= "&lt;tr&gt;&lt;th&gt;$prod_cat&lt;/th&gt;&lt;th&gt;$sub_cat&lt;/th&gt;&lt;th&gt;$prod_name&lt;/th&gt;&lt;th&gt;$price&lt;/th&gt;&lt;th&gt;$q_left&lt;/th&gt;
                    &lt;th&gt; $id1 &lt;/th&gt;&lt;th&gt; £$package &lt;/th&gt;&lt;th&gt;&lt;a href='dragNdrop.php?pID=$id'&gt;Add more images&lt;/a&gt;
                    &amp;nbsp;/&amp;nbsp;&lt;a href='editProduct.php?pID=$id'&gt;Edit&lt;/a&gt;&amp;nbsp;/&amp;nbsp;
                   &lt;a href='index.php?delID=$id&amp;prodName=$prod_name'&gt;Delete&lt;/a&gt;&lt;/th&gt;&lt;/tr&gt;";
  
  &lt;table&gt;
    &lt;tr&gt;
      &lt;th&gt;Product Category&lt;/th&gt;
      &lt;th&gt;Sub-Cat&lt;/th&gt;
      &lt;th&gt;Product Name&lt;/th&gt;
      &lt;th&gt;&lt;/th&gt;
    &lt;/tr&gt;
    &lt;?php echo $product_list; ?&gt;
  &lt;/table&gt;
  </code></pre>