Permalink
Browse files

fix

  • Loading branch information...
1 parent ea90dd5 commit 6482c4dc9d5b365c01c19a3b72455a0fe48609b2 @mstdokumaci committed May 24, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 doc/readme.md
View
@@ -47,15 +47,15 @@ Users has names, many written posts and many liked posts. Posts has texts, view
Users also has many users as friends.
-With this model, we want to reach posts of a user as $user['posts'] and writers of apost as $post['writer']. This is a one-to-many relation.
+With this model, we want to reach posts of a user as $user['posts'] and writers of a post as $post['writer']. This is a one-to-many relation.
We also want to reach liked posts of a user as $user['liked_posts'] and likers of a post as $post['likers']. This is a many-to-many relation.
Finally we want to reach friends of a user as $user['friends']. This is a self-referencing relation.
## Defining MySQL access
-This is also writing an array like this:
+Defining MySQL access is also writing an array like this:
$db_config=array(
'hostname'=>'localhost', 'database'=>'social', 'username'=>'root', 'password'=>''

0 comments on commit 6482c4d

Please sign in to comment.