Hello All,
First let me say, happy holidays!
Second, I am glad to see that you are all still here.
I am having trouble passing a variable through the url, getting it and then determining the correct query with it. For example:
$find = $_GET['x'];
if ($find = 'y') {
sql = "SELECT * FROM table1";
}
if ($find = 'z') {
sql = "SELECT * FROM table2";
}
mysql_query($sql, $connection);
When I do this and then change the variable in the url it just takes the information from the first if statement. $find if always equal to "y".
Any ideas??