So, I'm working on a PHP script, and part of it needs to be able to query a website, then get text from it.
First off, I need to be able to query a certain website URL, then I need to be able to get text from the text from that website after the query, and be able to return that text out of the function.
How would I query the website and get the text from it?