SELECT b.cat_id, b.cat_parent FROM cat AS b LEFT JOIN cat AS a ON b.cat_parent = a.cat_id WHERE b.ca...
Runtime version: PHP 5.3.10 Laravel 4.0 Create table like this: Schema::create('components', functio...
here is my function to select data from database http://laravel.io/bin/Qq2oD and i get this error !...
Hi, When I create a new item, I always have the column 'link' empty in my table. The table's column...
I have the following code in my app/start/global.php file: App::error(function(\PDOException $ex...
Hey i have this http://laravel.io/bin/4X3ar how can i get 2 diffrent results with the same query?
I am doing the below SQL, perfectly work in sql query client select `member_status`.`name`, COUNT(me...
I have a laravel chat app, is working fine and these are the relationships declared in the model. U...
please, how I can do this query with laravel? http://laravel.io/bin/3BmXm select cf.city, sum( cf.to...
Hi, The other day I had an issue and changed the environment to production based on another thread's...
Hi! How can i build a query eg: $products = Product::whereHas('tags', function($query) use($arrays)...
I'm trying to concat the results of a database query and return them as a variable that I can insert...
Hi, I've managed to setup a a database connection (eloquent model) and to display data of one table...
I'm using vagrant/homestead. and everytime i "destroy and up" or reload, my databases are...
Hello everyone! I have a relational model of three tables. And all with an N-N relationship. To simp...
If I create schema like this: Schema::create('clinic', function(Blueprint $table){ $table->increm...
Hello, I'm using a table pivot. Then I use a loop like this: foreach($ans as $a){ echo $a['name'...
I'm trying to delete an object model Studio which hasMany model Member and hasMany model Game and se...
Hello, I have created a neo4j package specifically used to send cypher query. Have a look at it here...
how we can create mysql views by migration scripts in laravel 4??
Solutions given in the past year. Excluding solutions from thread authors.
Select a tag below to filter the results
The Laravel portal for problem solving, knowledge sharing and community building.
The community