Questions tagged web

Explore the latest questions and answers asked by our top developers.

How can i insert unique code into database of sql [closed]

Iam doing project of PHP and Mysql right now. And i need to insert unique userid to each row. It should be less 5-6 char and including num and char Its must should be unique Source: Laravel

By Muhammed Javad
Published
Categorised as javascript, laravel, mysql, php, web Tagged , , , ,

Add a chat system to Laravel website using livewire

I am working on a project using laravel 8 and livewire , i have come to the part where i have to add a chat system to this project. I was going to use livewire but i have heard that , it’s a little bit risky to use it what fo you think about that […]

By Hdeb Hdeb
Published
Categorised as chat, laravel, project, system, web Tagged , , , ,

CSS with id attributer Not Show if I use /furniture/{slug} in route Laravel 8

My code on routes is like this : Route::get(‘/furniture/{slug}’, [ProductController::class, ‘show’]); and on controller like this : public function show($slug){ return view(‘detail_product’, [ ‘title’ => ‘Furniture | Detail Product’, ‘furniture’ => Furniture::find($slug) ]); } also in my html like this : <li class="quick-view"><a href="/furniture/{{ $product->slug }}">+ Quick View</a></li> I get an error where my css […]

By user15740285
Published
Categorised as laravel, php, web Tagged , ,

Laravel server keep looping on ‘Accepted ‘ , ‘Closing’

My laravel app not working and when i run php artisan serve it terminal looping through Accepted , Closing [Mon Jan 10 12:00:34 2022] PHP 7.4.9 Development Server (http://127.0.0.1:8000) started [Mon Jan 10 12:00:37 2022] 127.0.0.1:51825 Accepted [Mon Jan 10 12:00:37 2022] 127.0.0.1:51826 Accepted [Mon Jan 10 12:00:37 2022] 127.0.0.1:51826 Closing [Mon Jan 10 12:00:38 […]

By The Duo
Published
Categorised as laravel, laravel-8, php, web Tagged , , ,

please explain the use get and post funtions in web routes [closed]

Route::get(‘/login’, function () { return view(‘login’); }); Route::post("/",[UserController::class,’login’]); Source: Laravel

By Tahir Qadri
Published
Categorised as laravel, web Tagged ,

I want to a method to give path to my files which are outside of public folder in laravel

<link rel="stylesheet" href="{{asset(‘css/style.css’)}}"> helps to get files which are in public folder but how can i give path for folder which is in resources. Source: Laravel

By Suraj Bhandari Nephop
Published
Categorised as javascript, laravel, php, vue.js, web Tagged , , , ,

I want a way to give path to my files which are outside of public folder in laravel

suppose <link rel="stylesheet" href="{{asset(‘css/style.css’)}}"> helps to get style.css file which is in public folder but similarly how can I access file which is in resources folder. Source: Laravel

By Suraj Bhandari Nephop
Published
Categorised as javascript, laravel, php, vue.js, web Tagged , , , ,

laravel docker docker-compose asset not found

I run laravel with docker-compose file. If I don’t use volume , laravel can’t get asset and css If I use a volume, laravel can get any asset folders and css too. But if my teammate use a volume, all source codes become root instead of www. So 500 error happens. The docker file should […]

By asdzxsad
Published
Categorised as docker, laravel, php, root, web Tagged , , , ,

Create new page for a website but with different framework [closed]

How can I connect my website which used Laravel framework to another website which used Javascript framework (mine as well)? Something I want to do is the Laravel website has domain mydomain.com and will be connected to other.mydomain.com domain but built with JS framework (same main domain, different subdomain, different framework)? Source: Laravel

By Arnold Sianturi
Published
Categorised as javascript, laravel, php, web Tagged , , ,

my website many pages not indexed on google search [closed]

I try many ways for indexing my website but in the last 60 days, no single page was indexed in a google search. in 130 pages only 37 pages were indexed and in the last two months I make a blog but it did not become index. below is my site link, thanks in advanced […]

1 2 3 21

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq