title: Have the same page of a website display different things based on a passed variable?
body: <p><strong>Need to edit this post because I didn't word my question properly and asked the wrong thing</strong></p>
  
  <p>I'm designing a website, and I'm wondering if it's possible to have a block of text that displays different things based on a condition variable. </p>
  
  <p>e.g. if users have different values for a variable through some previous action on a website -- and both users click the same "next" button to go to the next page. Based on that previous action, hypothetical user A will see different text than hypothetical user B, but they'll both be on the same page.</p>
  
  <p>It will be the same HTML file for the page, but the content will be different depending on previous data. Is this possible?</p>
  
  <p>Would I need to use js for this, or is it something simple that can be done with just HTML?</p>
  
  <p>Any help would be appreciated, thanks! </p>