Posts by Sr. Bigode • 511 points
19 posts
-
-3
votes0
answers10
viewsQ: Save files to Storage or Mysql Database?
Personal the question may be 'simple', but in the company where I work the analyst requested that PDF files be saved in bank (Mysql - using Mediumblob type). But in Windows I always save files(pdf,…
-
0
votes1
answer121
viewsQ: How to generate two pages with DOMPDF in Laravel
I have to generate the PDF of a 'wallet', and I have to put the front and back in the same file. I have the following source to generate the front: $nome = $cliente->nome.'.pdf'; $pdf =…
-
2
votes1
answer705
viewsQ: Calculate age in Standard
I want to calculate the age through the date of birth, I will leave the processing in the database, I am new in Laravel and I am not able to execute the following query: SELECT…
laravelasked Sr. Bigode 511 -
2
votes1
answer146
viewsQ: What is the difference between Static::Property, Classname::property, self::property?
I know that the parent::propriedade, you select parent property, but I’m not able to differentiate these other three when I use within the scope of the class. Both work, but what’s the difference?…
-
1
votes2
answers972
viewsQ: How to start Owl Carousel after 2 seconds?
I have an Owl Carousel slide, when the site is loading the images load in half and the autoplay, already starts and begins to pass without the images have fully uploaded, I would like to know how to…
owl-carouselasked Sr. Bigode 511 -
0
votes1
answer195
viewsQ: How to determine a fixed size for fancybox image gallery?
I’m making an image gallery with the plugin Fancybox.I’m listing the images with PHP, only I have a problem. I will be able to have images with different width and heights, so how will I always…
-
1
votes1
answer95
viewsQ: I want to click on a link when I click show a div and when I click on another link show another div and disappear the previous one
It’s simple, but I can’t do it. When I click on the link1 show the div1, and if I click on the Link2 show the div2. And if I click on the link1 again with the div1 showing it should disappear, I…
-
0
votes1
answer34
viewsQ: How to add another zero in hours for example: 4:4:03 becomes 04:04:03?
I have the following code in the application: I want to format the time and put another zero when it is only 1 number, I tried to do the following way to have PHP with the strlen function and when…
-
0
votes1
answer61
viewsQ: How to disable Jquery script on mobile devices? Is it possible?
I simply want to disable my Jquery script, not to run on devices smaller than 768px, it is possible?
jqueryasked Sr. Bigode 511 -
13
votes4
answers320
viewsQ: What is .= in php?
What is .= in PHP? I’m wondering if it’s a concatenation or multiplication.
-
4
votes3
answers3050
viewsQ: How to change the color of the input using jquery Validate?
I am implementing a jquery form, and I want that when Valida runs and class error is added to the label leaving the red font, I will send a picture representing how I want. <html> <head>…
-
2
votes1
answer323
viewsQ: How to change DIV style using AJAX without updating the page
I am doing a complementary activity in college, and I have to do a system to change the style of the div if the user problem is already solved or not. When you click solved if the div is already in…
-
8
votes3
answers182
viewsQ: Convert date type 2016-10-04 15:51:16 to, 04-10-2016 15:51:16 to SQL or PHP how to do?
I’m doing a job to show the date and time of insertion in the script in the database, I have to show the date in the dd-mm-yyyyyy format and then the time, can I do it by the script’s SELECT or by…
-
3
votes2
answers7943
viewsQ: How to write a full number in C Language?
I’m doing a program here of a college job, and I don’t know how to value a string, my program will show the number I type in full. And I’m not getting the value for variable according to string.…
casked Sr. Bigode 511 -
1
votes1
answer844
viewsQ: Why does my PHP script only return me Resource id #4?
I am only trying to get the name of a column of a database table, and it always returns me only Resource id #4, I will send a part of my code. <?php mysql_connect('localhost', 'root', '') or die…
-
0
votes3
answers1227
viewsQ: Take the id of a database list, and use in another page to insert phones in PHP
Hello guys I’m doing a test, and I have the data in a table in my index page in HTML and I intend to click a button in front of some data and then forward me to another page that will show the name…
-
3
votes2
answers31
viewsQ: How to do more than one type="radio" field without losing value?
I am making a form and it will have two fields for selection of items, ie they are type="radio", only that the following problem happens when it selects an alternative of the first question ta…
-
0
votes0
answers110
viewsQ: How to get only the value of the year using jquery and datapicker?
Good morning, I’m doing an exercise that I have to take only the value of the year that the user chooses using Datepicker, and then I have to show only the year that was typed.
-
-2
votes1
answer4589
viewsQ: How to know if the person is legal?
I need help creating a Javascript code or using jQuery, which should read the value of the person’s date of birth (I’m using datepicker) and calculate how old they are. I have to show in div…