Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jan 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question about URL format

    I have some knowledge of php and I don`t know if this question is related to php or not. If not my apologies.

    If i use && instead of & to pass variables between pages does that make any difference and if it does is it a big deal?

    here is an example;

    1- < a href="somepage.php?item_no=123&&cat=somecat">Add me</a>
    2- < a href="somepage.php?item_no=123&cat=somecat">Add me</a>

    which one of these correct i used the 1st one but i might made a mistake and i was wondering if this is a big mistake like i have to change it or is it okay to keep this way?

    Thank you in advance

  • #2
    Regular Coder
    Join Date
    Jan 2012
    Posts
    271
    Thanks
    2
    Thanked 65 Times in 65 Posts
    #2 is correct... i don't know what the implications are of using #1 but it is wrong...


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •