proper link formatting

Posted by dbomb101 on Stack Overflow See other posts from Stack Overflow or by dbomb101
Published on 2010-03-16T18:56:02Z Indexed on 2010/03/16 19:01 UTC
Read the original article Hit count: 277

Filed under:
|

I am trying to create a link, which will, allow my paginated search to go onto the next page of results including the search term in the url

I get the following error with the link I have created

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/dd615/public_html/searchPage.php on line 47

here is the link

echo "<a href='{$_SERVER['PHP_SELF']}?search=$_GET['search']?pagenumber=1'> FIRST </a>";

any help would be greatly appreciated

© Stack Overflow or respective owner

Related posts about php

Related posts about html