Unique email with each type of user in Laravel
I want to register many user with the same email but different type
I want to register many user with the same email but different type
I want to get all the rows from a table through an expression:
there is a bit(1)
type column in database table. but its not working as i expected.
I’m trying to build a visitors counter in Laravel….
I’m trying to create a Friendship system with Laravel (I’m starting with it) but I’m blocked with relationships. Here’s the thing : there is one table Users and one table Friends which contains the following columns :
Is there a way to merge 2 relationships in laravel?
I work in a project that uses multiple databases. It seems like Laravel only uses the migrations-table in the database that is set as default. I would like one migrations table per database that logs the migrations that have been done to that specific database. Is this possible?
I have a piece of code and I’m trying to find out why one variation works and the other doesn’t.
I know that when using the query builder, it is possible to sort by multiple columns using
In laravel, we can get the input value via Input::get('inputname')
. I try to change the value by doing this Input::get('inputname') = "new value";
. But then, I get the error message saying Can't use function return value in write context
.