***EDIT: Never mind, I figured it all out.
I changed the table name, and I no longer get the error. Thanks for the tip.
I have another question though. The following statement:
$result=mysql_query("SELECT * FROM $table WHERE id=$id");
should select all the fields in the database where the specified id is found (this is determined by a query in the URL, i.e. listing.php?id=1), right? So, if I used id=1 as my example, and Name, Email, and Address are my fields, I should get the records in those fields that correspond with id=1? (id is my primary key field) Currently, it seems to not be returning everything I want, but I'm not quite sure, so I'm interested to know what this query should be returning. I hope that made sense.