2 Replies - 712 Views - Last Post: 02 April 2013 - 09:30 PM Rate Topic: -----

#1 game06  Icon User is offline

  • D.I.C Head

Reputation: 3
  • View blog
  • Posts: 74
  • Joined: 21-March 13

url variables

Posted 02 April 2013 - 09:00 PM

i am getting a error in this line:

echo'<a href="?page='.$x.' &wlink='.$sub_category.' &order_by='.$order_by_p.'" class="page dark">'. $x .'</a> '; 


i think iam not sure quotes right bc in url i have next value


www.....?page=2&wlink=Women_T-Shirts%20&order_by=oldest

%20


and i never added tthis in my code

This post has been edited by game06: 02 April 2013 - 09:07 PM


Is This A Good Question/Topic? 0
  • +

Replies To: url variables

#2 Sho Ke  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 110
  • View blog
  • Posts: 250
  • Joined: 13-October 11

Re: url variables

Posted 02 April 2013 - 09:13 PM

If you notice, in the area where %20 is showing up there is a space in your code, which is exactly what %20 is.

Further reading: http://www.blooberry...urlencoding.htm
Was This Post Helpful? 0
  • +
  • -

#3 game06  Icon User is offline

  • D.I.C Head

Reputation: 3
  • View blog
  • Posts: 74
  • Joined: 21-March 13

Re: url variables

Posted 02 April 2013 - 09:30 PM

thanks, i didnt knew a space makes that much difference.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1