What’s the syntax for including ID and Class in the href query string?

I want something like this:

href='home.php?ID'

Do I include the hash for ID or do I just call it as it as it is?

Answer

For Id use this.

href=’home.php?#ID’

Leave a Reply

Your email address will not be published. Required fields are marked *