I’m a little confused on how to this is going to work, it’s not changing anything on my page. How would this join the tables? isn’t that what I need to do, so it only shows the submitted reports of the user that is logged in?
On a different note, I’ve given up on trying to connect tables for now. I’m having another issue with the above query. I now have
if(!isset($id)){
$x = mysql_query("SELECT id FROM Reports ORDER BY name ASC") or die(mysql_error());
while($row = mysql_fetch_array($x)){
$id = $row['id'];
}
}
I can’t seem to make order alphabetically, am I doing something wrong?