Does anyone know what may be causing a parse error in the below href code
if ($page<$pagenums) { echo "" . $space . $space . $space . $space . " <a href='" . $PHP_SELF. "?page=".($page+1).""&order=<?$GET['order']?>&way=<?$GET['way']?>"' class=main>Next " . "</a> »"; }
any help is appreciated.
Thank you for your time.
Michael
you have two " behind $page+1).
in the <? ?> you need to echo the variables
what's the last sign behind </a> ?
Here is one that should work. I use single quotes in PHP because it's uses less CPU cycles.
echo $space . $space . $space . $space .' <a href="'. $PHP_SELF .'?page='. ($page+1) .'&order='. $_GET['order'] .'&way='. $_GET['way'] .'" class=main>Next </a> »';