View Full Version : Question about URL format

01-29-2012, 07:19 PM
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

01-29-2012, 07:28 PM
#2 is correct... i don't know what the implications are of using #1 but it is wrong...