Here is an example of our database tables. There are two tables posts and users, which contain the users login details and the information input from the form (posts). It took a while to populate, this was one of the things Chris and I did over the Easter break.
The posts table contains the data input in the form as well as the id of the user and the id of the listing. It has the following columns, id, user id (who listed it), title, price, location, type, bedroom number, photo (name), photo path, description and the date and time the listing was added.
The posts table
The users table contains the users details and login information that was input when they signed up and has the following columns, id, username, password, first name, last name and email address.
The users table