Jump to content

Search the Community

Showing results for tags 'laravel'.

  • Search By Tags

    • laravel ×
    Type tags separated by commas.
  • Search By Author

Content Type



Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


  1. //my controller <?php namespace App\Http\Controllers; use Illuminate\Http\Request; use DB; class homeController extends Controller { public function index() { $employee = DB::table('employee')->orderBy('id','desc')->get(); $department = DB::table('department...
  2. I have this code: class DropzoneController extends Controller { public function __construct() { $this->middleware('auth'); if (!Auth::check()) { return redirect('auth/login'); } $this->user = Auth::user(); } public function index() { return view('dropzone_...
  3. I am getting this error: syntax error, unexpected '}' @extends('layouts.master') @section('scripts') <script type="text/javascript" src="{!! asset('js/status.min.js') !!}"></script> @stop @section('content') {!! csrf_field() !!} @if (count($errors) > 0) <div class="alert alert-danger">...
  4. Hi I’m trying to develop an online application that will allow ‘Candidates’ to book on courses that “Providers” have posted. The application is going to have 4 different types of users, please see attached ‘Figure 1.4 - JobSkilla User Permissions & Roles.jpg’ all of which have different info...
  5. I am trying to pick activityType and show the value in an array that looks like this: http://4.1m.yt/ukCLELP.png I want the activityType value to be an actual option like: option1,option2 etc.. But it throws an error instead (when trying to change values of it): ErrorException in c3b83...
  6. Hi all, I’m building a search engine to find courses online; I wanted to ask for some guidance with the best way to program/structure the project. I’m going to be building the application using laravel 5.2 I have 3 different types of users as follows Users Course Providers Advisors...
  7. Hi all. No matter what i tried my links just wont work on my laravel app. My css folder is in the public folder. public/css. I dunno what is wrong. I installed laravel with composer and i am running windows 7 and wamp. this is the link i used: <link rel="stylesheet" href="{!! asset('css/bo...
  8. Hello, I installed composer and then I tried installing the laravel command line functions as it was described in their website, namely I ran this command: composer global require "laravel/installer=~1.1" Taken from directly from the official website - http://laravel.com/docs/4.2#install-larave...
  9. I'm creating a social network site using Laravel. I have a page that load all the posts created by users the currentUser follows. I have a comment section on each post. I'm using ajax to post the comments. Here is my code. Here is the view of the comment-box. It contains a section where I lo...
  10. I'm writing a small applications with episodes which contain 10-15 screenshots with each screenshot having 5 different resolutions. Every week there are about 20 new episodes. You can imagine that every week I have a lot of screenshots which have to be somehow linked to their respective episode....
  11. Hi, This code works (and correctly shows just one result in my view); $people = DB::table('people')->where('id', '=', $person_id)->get(); But this one doesn't; $people = DB::table('people')->where('id', $person_id)->first(); And produces the error; Trying to get property of non-object (V...
  12. I am really struggling with the logic aspect of my application. I can't picture the structure and get it clear in my mind. As a result, I can't code anything because I'm second-guessing myself at every turn. My application is pretty simple in reality. It's an application that keeps a record of a...
  13. Hi. My sys admin guy has informed me that installing composer is unlikely. They're a bit jumpy about security around here. I tried to download and run Laravel on it's own but I'm getting errors when I go to http://example.com/test/laravel/public/ Warning: require(/var/www/html/test/laravel...
  14. I am new to the Laravel Framework, doing an internship and at the very end.. I need some assistance please with some try catch error, Its supposed to throw an error if the site name is already in the database.. If someone could help me please and thank you .. ``` public function create()...
  15. Hi, I am building a restfull service and i would like to out put a error like the following { "error": true, "message": "Validation failed", "code": 400, "errors": [ { "field": "first_name", "error": "The first name field is required." },...
  16. I have started a project using laravel. I am in the process of builing User groups and permissions in the admin dashboard. I have uploaded a snapshot of my views to which i want to restrict access. i want to structure it to be completely dynamic
  17. Hi. I'm not exactly new to PHP but I am brand new to this community. I have been PHP aware for about 5 years but in all that time the amount of coding I have actually done has been rather pathetic. I work for a company that is quite... insular, and secluded (their choice, not mine) from th...
  18. Does this look like the right way to do READ UNCOMMITTED in Laravel? $cars = Cars::raw('SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;')->Active()->get(); Thanks!
  19. I'm wondering if anyone know if there's a good tutorial for new people to laravel and teaches you how to create a user/password login page? I used to watch tutorial of laravel 3.1 in tutsplus.com a 6 hours tutorials and got me interested with laravel and then 4 came out which I know added lots f...
  20. Hi, I am going to build a bus ticket booking application. I am very much familiar with Codeigniter and used in 8 projects. But FuelPHP and latest trend of Laravel are knocking my heart. I have learned FuelPHP and Laravel but not yet build any app. Ellis lab dis-counted the support and development...
  21. I am building a relatively small app in laravel. Currently I am trying to create a load more button to load more images into a container in the view. Would anyone know when clicking load more I get an internal server error? Here is my set up: View for my images: $instagram = new Instagram\Inst...
  22. Hi everyone I'm in learning laravel, really a newbie. It's seems somehow I can't pass the variables from controllers to view. So this is what I've got config/route.php Route::get('/' , "PagesController@link"); Route::get('pg' , "PagesController@link"); Route::get('pg/{link}' , 'PagesControl...
  23. Hi all. I have two tables. categories and products. On the create product page, I have a select dropdown field that I want to populate all the available categories. How can I archive that? This is what I did but I am having error: MY FORM <form> <select name="cat_name" > <option...
  24. Hi there. I have posts, post comments and users tables which are all fine in and of themselves, but I'd like users to have a unique name that's specific only to the post to hide their real username. This applies to the post itself, and the comments of the post and must remain consistent. For ex...
  25. Hello, i'm currently developing a website using laravel. I have added a 3 new columns for bravo_book_others table the columns are other_name, gender, and other_address. I have a case like this : User1 want to buy 4 holiday package for user1 friends, so user1 have to input 3 of user1 friends...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.