1 line of code too
Posted: Mon Sep 20, 2010 2:46 pm
Hello
as table rows dynamically generated need in my case to contain a link, they also have to pass a value to another page, but specifically inside a tab in that page.
this static link does take me to the inside of the tab, but of course it sends no value.
and this is somewhat a dynamically generated link but still does not work
this below takes me to the page, but not to the tab I want, only to the first one and does not pass the value, but somehow it is closer.
so, somehow I need to combine those lines to make 1 line right.
I would appreciate a lot if someone knew how to write that one line.
thanks a lot
as table rows dynamically generated need in my case to contain a link, they also have to pass a value to another page, but specifically inside a tab in that page.
this static link does take me to the inside of the tab, but of course it sends no value.
Code: Select all
<a href="detailpageswithlinks.htm#tabs-2" id="my-text-link">MytextLink</a>Code: Select all
echo "<td>" . "<a href='" . "linkTothePage" . "'>".htmlspecialchars($daten['provider']). "</a>" . "</td>";Code: Select all
echo "<a href=detailpages1.php?#tabs-1$row[product_id]>Product Details</a>"; I would appreciate a lot if someone knew how to write that one line.
thanks a lot