Support the ongoing development of Laravel.io →
Requests Views Blade

Hello , I will try to explain it . I created my website and i name it notas.ues and in the hosts file: 127.0.0.1 notas.ues

httpd.conf file in xampp.

<VirtualHost *:80>
ServerName notas.ues
DocumentRoot C:/xampp/htdocs/laravel/public
</VirtualHost>

route file.

Route::get('prueba', 'Menu@prueba');

controller file

	public function prueba()
	{
		return view('prueba);
	}

prueba.blade.php

@extends('app')
@section('content')
                        <table >
                            <tr>
                                <th>ID</th>
                                <th>nombre</th>
                                <th>email</th>
                                <th>acciones</th>
                            </tr>					
                        </table>

{{-- 
    <div class="container">
        <div class="row">
            <div class="col-md-10 col-md-offset-1">
                <div class="panel panel-default ">
                    <div class="panel-heading"><h3>Cambio de contraseña</div>
                        <table >
                            <tr>
                                <th>row</th>
                                <th>row</th>
                                <th>row</th>
                                <th>row</th>
                            </tr>				
                        </table>
                </div>
            </div>
        </div>
    </div>
--}}	
	 
@endsection

The problem is when I try to access to notas.ues/prueba ,this page doesn't work. I mean it doesn't load the page what i want and as a result the browser loads http://www.tareanotas.ues/prueba.

I think maybe the label {{-- Comments --}} , because when I delete three <th>row</th> the page works. And when i delete most of the code in comment , the page works too.

Are there some rules with that label ? If there are some rules i would like to know them. or It can be other mistake?.

Last updated 3 years ago.
0

Sign in to participate in this thread!

PHPverse

Your banner here too?

dormidosan dormidosan Joined 31 Oct 2015

Moderators

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.

© 2025 Laravel.io - All rights reserved.