Probably a really stupid question..

by 2 replies
3
How can I define a php link with a css class?

I need to define:

PHP Code:
echo "<a href=\"?page=" . ($i-1) . "$search\">Previous Page</a> "
with my css: class = "t_color1 next" :confused:
#programming #question #stupid
  • "t_color1next\"
  • @awebforyou: did you check this code snippet? I dont think this will be working....

    @sstoney200: there you go:

    echo "<a href='?page=" . ($i-1) . "$search' class="t_color1next">Previous Page</a> ";


    I cant test it right now, but it should work if i didnt make a mistake.

    p.s. there are no stupid questions - just stupid answers.

Next Topics on Trending Feed