OK, so the rules are in the php scripts we use & in the url values. in the html, we use the &.
How about javascript, we use the & in the url values in the javasript too, like in the php script, right?
But how about the html codes like this
<a href="javascript: if (confirm('go to next page?')) location.href='test2.php?id=1&list=1';">test2.php by loclation &amp;</a>
In the above case, should I use & as in html or should I use & as in script? It seems that we should use & as in html. Because the javascript codes are not in the <script></script? blocks?
Thanks!