Hi, I need to change PHP embeded in HTML to HTML embeded in PHP as trying to use modularity approach. I'm stuck on below these lines where concatenation is the big issue. I have researched, read but couldnt sort this out after try really hard. Could any one please help me to change this code to HTML embeded in PHP please. Mostly i'm getting confuse where text is written in red I know it is very basic question but this concatenation is confusing me so much. I have spended my whole day in sorting this out but :( 1. <a class="<?php print($class);?>" href="<?php print("$thispage".($y>0?("?start=").$y:""));?>"><?php print($pg);?></a> 2. <a href="<?php print("$thispage".($next>0?("?start=").$next:""));?>"><<</a> Thank you