I've created a page where I'm retrieving content from a MySQL database using 2 queries. What I would like to do is have the page load content based on the values passed to it along in an url.
If someone knows, then please help me out.
Thank you for your time!
$q = "SELECT m.messages, m.name, f.forum FROM messages AS m INNER JOIN forum AS f WHERE m.name = 'simpson' ";
$b = "SELECT m.messages, m.name, f.forum FROM messages AS m INNER JOIN forum AS f WHERE f.forum = 'foo' ";
Would the url be something like:
I'm not competely sure how my queries should be coded on the receiving page:
WHERE m.name = '?' ";