Posts by Daniel dos Santos • 213 points
29 posts
-
-1
votes1
answer405
viewsQ: Image does not appear in view, in production environment
I have the path of the images saved in the database, and the images in a folder inside the public folder (filename/public/image-post/post_id_2.jpg). in development environment, it usually appears in…
-
0
votes2
answers635
viewsA: Breaking lines in text from the database
I found the solution! In the "Appserviceprovider" it adds the following in the "boot" function: Blade::setEchoFormat('nl2br(e(%s)'); In the.Lade view, you can take the data normally:…
-
-1
votes1
answer64
viewsQ: "Like" and "Dislike" buttons don’t work without updating the page
I’m developing a post system, where in each post viewed, I put a "Like" button and a "Dislike". I implemented a code that updates the page when one of the buttons is clicked, worked perfectly,…
-
0
votes2
answers635
viewsQ: Breaking lines in text from the database
I intend to load the page, the text coming from the bank, with the paragraphs and line breaks, just as it is in the bank. Below goes what I’ve tried: View.blade.php <div> <p…
-
0
votes1
answer75
viewsA: How to upload database data to Welcome view in Windows?
I was able to solve the problem, commenting on the block below Sitecontroller: public Function __Construct() { $this->middleware('auth'); }…
-
0
votes1
answer75
viewsQ: How to upload database data to Welcome view in Windows?
I am creating a system in Aravel 5.3, already activated the auth and put a Carousel in the Welcome view that searches the address of the images in the bank. When accessing the default Welcome view…
-
-1
votes1
answer434
viewsQ: Swap the Welcome view for another in Laravel 5.3
I plan to replace the Welcome view with another one I created with a controller. For better understanding, here’s my attempt that’s not working: Route Route::get('/portal',…
-
1
votes1
answer100
viewsA: What about the php view.blade.that loads the data into a Carousel bootstrap?
I found the solution!!! The problem was on this line: <div class="carousel-item {{ $loop->first ? 'active' : '' }}"> The correct thing is: <div class="item {{ $loop->first ? 'active'…
-
1
votes1
answer100
viewsQ: What about the php view.blade.that loads the data into a Carousel bootstrap?
I am trying to load the data dynamically from a mysql database, to a Carousel bootstrap, with Laravel 5.3. The following is happening: The data is loaded, but Carousel does not work, that is, it is…
-
0
votes1
answer307
viewsQ: How to find the last 5 images inserted in the seat and show in a carousel?
I want to take the last five images in the bank and show them on a carousel, with the respective title, and those marks that indicate the image being viewed. I’m working with Laravel 5.1 and mysql.…
-
1
votes1
answer75
viewsQ: How to pass data from two unrelated tables in a view?
I’m trying to move to a view, data from two unrelated tables. Appear only the data of one, the other, They are invisible, but you can notice the change in the layout when these data are loaded.…
-
0
votes1
answer3813
viewsQ: How to resolve this 'Undefined variable' error when accessing a view in Laravel 5.1?
My problem is this: I uploaded the data to the banner view, which is included in the main view, this in turn is expanded in the home view, is working well. But when I try to access another view…
-
-1
votes1
answer318
viewsA: How to give permission to write temporary files in the c windows tmp folder with Laravel 5.4?
I found the answer: Right click on Computer, Properties, Advanced System Settings, Advanced, Environment Variables, do not touch the top part "User Variable to", but on the bottom part "System…
-
-1
votes1
answer318
viewsQ: How to give permission to write temporary files in the c windows tmp folder with Laravel 5.4?
I would like you to help me solve this problem: How to give permission to write temporary files in the windows tmp c folder with Laravel 5.4?
-
0
votes1
answer127
viewsQ: How do I resolve the error: Method getClientOrinalExtension does not exist, no upload de imagem com o Laravel 5.4?
Once again, I really need your help. You are giving me the following error when uploading the image to Laravel 5.4: Method getClientOrinalExtension does not exist. Next is my controller and view:…
-
1
votes1
answer367
viewsQ: How to save a foreign key in Laravel 5.3?
I am having trouble saving the foreign key in the database. I am working PHP, Laravel 5.3 and MySQL, below goes the code: Controller Product namespace App\Http\Controllers; use…
-
1
votes1
answer1131
viewsQ: Problems listing data from related tables in Laravel 5.3?
I’m working with php, Laravel 5.3 and myql. Having created everything (Migration, model,controller, View, relationship), is giving me the following error: Errorexception in…
-
2
votes3
answers640
viewsA: How to resolve foreign key error 150 in Migration with Laravel?
I was able to solve the problem as follows: no migration products, modified from $table->integer('categs_id'), for $table->unsignedinteger('categs_id')…
-
4
votes3
answers640
viewsQ: How to resolve foreign key error 150 in Migration with Laravel?
I’m having trouble creating the foreign key in Migration. I am working with PHP, LARAVEL 5.3 and MYSQL. You’re making the following mistake: Below is my code: Table Migration categs class…
-
0
votes1
answer620
viewsQ: Can’t find the php controller with Laravel
Hello guys I’m starting with the Standard, I’ve come across a problem. I created the controller, the routes, but even so, it’s giving me the following error: Class App Http Controllers…
-
0
votes1
answer55
viewsQ: Data search problems by name, returns nothing
I’m having trouble searching for data by name. Following is the code. From now on, thank you. <?php include_once 'dbconfig.php'; ?> <?php include_once 'header3.php'; ?> <div…
-
0
votes1
answer11482
viewsQ: SQLSTATE[42000]: Syntax error or access Violation: 1064
I’m having trouble visualizing and entering the data in the database, is giving this error: SQLSTATE[42000]: Syntax error or access Violation: 1064 You have an error in your SQL syntax; check the…
-
1
votes0
answers1267
viewsQ: How do I integrate bootstrap into a php project in Dreamweaver cs5.5?
I’m having trouble integrating bootstrap into Dreamweaver. For better insight, I’ll post the code. header.php: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"…
-
-1
votes2
answers1046
viewsQ: How to Save Date, Time, Minute, and Second in C# WINFORMS and SQL SERVER?
I created a sales system, and I need you to record the date, time, minutes and seconds. The way I did, it only records the date, and the rest comes 00:00. Below is the code of what I did: //evento…
-
4
votes1
answer1448
viewsQ: How to toggle lines of a report with custom colors Crystal Reports and C# winforms?
In the report I’m doing, I’ve managed to alternate colors by doing the following: Access to the Menu: Crystal Reports - Report - Section Expert Select the section Details and click on the tab Color…
-
1
votes1
answer89
viewsQ: How do the text of a cell occupy two lines within the same cell in Crystal Reports with C# winForms?
I’m creating a report with Crystal Reports. It’s working, but it has the following problem: When the content of the cell is larger than its space, a part of the content does not appear. How do I…
-
0
votes2
answers87
viewsA: How to list last 7-day birthdays with Crystal Reports and c# winforms
FINALLY GOT PEOPLE! I did it this way: 1) I created 4 SQL Expression Fields: data1: {fn DAYOFYEAR("FIEIS"." Datanasc_fl")}) data2:({fn DAYOFYEAR({fn CURDATE()})}-7) data3:{fn DAYOFYEAR("FIEIS"."…
-
0
votes2
answers87
viewsQ: How to list last 7-day birthdays with Crystal Reports and c# winforms
I’m developing a church management system, and I need to get all the faithful registered in the system, whose birthday is in the last seven days, counting the current date. I have created the…
-
1
votes0
answers866
viewsQ: How to list data with Inner Join with mvc 5, c#, Dapper, and sql server?
I’m having the following difficulties: 1 - Data display from a select with Inner Join. The fields of the other tables do not appear all that are in select, and the ones that appear, have the value…