Support the ongoing development of Laravel.io →

nikhilnikki

Joined 14 Feb 2014

Statistics

Threads 5
Replies 6
Solutions 0
Articles 0
posted 10 years ago

Trying to get property of non-object

If i'm copy the url of the home page and paste it into another browser it should go to the login pag...

0 Likes
3 Replies
Solved

Non-static method Confirm::posts() should not be called statically, assuming $this from incompatible context

These are my models User public function posts() { return $this->hasMany('Post'); } P...

0 Likes
5 Replies
Solved

Call to undefined method error while getting the data

these are my relations.. User model public function posts() { return $this->hasMany('Post'...

0 Likes
1 Replies

problem in accessing value from parentmost table.

I've four tables.User,Post,Reply and Confirm tables. And the relation is User has many posts posts...

0 Likes
2 Replies
posted 10 years ago

Accessing data from table using relationship

I've users,posts,comments table. Here are my models user model public function posts() { return $...

0 Likes
6 Replies
Solved
replied 10 years ago

Trying to get property of non-object

Thanks for the replies. It worked for me.I added all the necessary routes inside the group filter....

0 Likes
replied 10 years ago

Non-static method Confirm::posts() should not be called statically, assuming $this from incompatible context

hi, I'm using this query $post = DB::select('select p.post from post AS p,con...

0 Likes
replied 10 years ago

Non-static method Confirm::posts() should not be called statically, assuming $this from incompatible context

Thanks for the replies these are my tables.. users: id name post:id post user_id reply:id reply...

0 Likes
replied 10 years ago

problem in accessing value from parentmost table.

ya.. its posts have many Reply... I wanted to display all the post that have reply_id present in con...

0 Likes
replied 10 years ago

Accessing data from table using relationship

Hi Belar. These are my tables...... users:id name posts:post_id(pk),post,user_id comments:comment_id...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.