cragdire
05-25-2011, 02:52 AM
Hi,
I am new to this and trying to put things together, but my head is hurting. I hope somebody can help me out.
Simple form and database. I am adding cities in my area. It just has the cityID and city in the fields.
I found a nice place to get the pagination script, but I am having problems with the CSS.
It has a table with repeating regions.
I would like to change the hover state and the link visited and active.
Any help would be great.
Here is the code
[CODE] <?php
for ($i=0; $i <= $totalPages_rsCity; $i++) {
$TFM_PagesEndCount = $i + 1;
if($i != $pageNum_rsCity) {
printf('<a href="'."%s?pageNum_rsCity=%d%s", $currentPage, $i, $queryString_rsCity.'">'.$TFM_PagesEndCount."</a>");
}else{
echo("<span class='current'>$TFM_PagesEndCount</span>");
}
if($i != $totalPages_rsCity) echo("|");
}
?> [CODE]
I am new to this and trying to put things together, but my head is hurting. I hope somebody can help me out.
Simple form and database. I am adding cities in my area. It just has the cityID and city in the fields.
I found a nice place to get the pagination script, but I am having problems with the CSS.
It has a table with repeating regions.
I would like to change the hover state and the link visited and active.
Any help would be great.
Here is the code
[CODE] <?php
for ($i=0; $i <= $totalPages_rsCity; $i++) {
$TFM_PagesEndCount = $i + 1;
if($i != $pageNum_rsCity) {
printf('<a href="'."%s?pageNum_rsCity=%d%s", $currentPage, $i, $queryString_rsCity.'">'.$TFM_PagesEndCount."</a>");
}else{
echo("<span class='current'>$TFM_PagesEndCount</span>");
}
if($i != $totalPages_rsCity) echo("|");
}
?> [CODE]