Posts by Allan Ramos • 2,488 points
67 posts
-
2
votes1
answer681
viewsA: PDO Insert does not work
Even with the try catch and ini_set('display_errors', true); error_reporting(E_ALL); it did not show the error. I realized I was trying to insert 14 characters in a 13 column. I modified this and it…
-
1
votes1
answer681
viewsQ: PDO Insert does not work
Before you ask me the question, I have consulted other topics here in the OR and found no solution. I’m trying to make a simple Insert and as soon as I run the whole script just doesn’t happen, the…
-
9
votes1
answer3553
viewsQ: How to use a Try catch inside another?
I need to write data into a database, and if it succeeds, then I will generate a .pdf with PHP. Even if I put one try catch in a part of the code and it gives the exception, still the rest of the…
-
3
votes2
answers10604
viewsQ: Add and Remove Fields with Javascript
I need the user to add the same fields as many times as he wants, and also remove them. I was able to script to add the fields, but remove is not working. HTML <a href="#" data-id="1"…
-
1
votes1
answer594
viewsA: Call to Undefined Function pg_pconnect()
I talked to the person in charge who gave me the code,: port=5433
-
2
votes1
answer594
viewsQ: Call to Undefined Function pg_pconnect()
I need to create a connection to a database (already existing) in Postgresql (up and running), using this code (which also existed). Access file_bd.php <?php function conecta() { $ip =…
-
0
votes1
answer760
viewsQ: Uncaught Referenceerror: CKEDITOR is not defined
I’m using the Ckeditor so that the user can fill in some texts. On the Home page of the site was looking at the Devtools of Chrome and found the mistake. Uncaught Referenceerror: CKEDITOR is not…
-
1
votes1
answer760
viewsA: Uncaught Referenceerror: CKEDITOR is not defined
Solved Like I said, I used this on Administrative Panel, and not at the front. I went to the template of the front and found to call the file . js of the Ckeditor. I pulled out the line, rescued and…
-
2
votes1
answer86
viewsA: Change Lightbox cursor position
Resolution Finally I got the answer !. I took the part of margin I had done and changed the part of right and left. Code I’ll just put here what I added. .lb-prev, .lb-next { width: 50%;…
-
1
votes1
answer86
viewsQ: Change Lightbox cursor position
I’m using a plugin to make the lightbox effect (Follow the link below this text), and I need to make some changes in the look, as the cursors and their positions. I changed the close from it to the…
-
1
votes2
answers366
viewsA: How to Overwrite an Image with DIV
Following @Onosendai’s code - thank you very much - I was able to achieve the expected effect. HTML @section('conteudo') <main> <div id="eventos"> <div class="pure-g">…
-
0
votes2
answers366
viewsQ: How to Overwrite an Image with DIV
Gentlemen, I’m pulling some images from the database, and when the user hovers over them an opaque red color will be above them, and a title and text will be shown. I did this by putting the image…
-
3
votes1
answer132
viewsA: How to identify route in Laravel?
Before Route::get('empresa', array('as' => 'home', 'uses' => 'EmpresaController@index')); Afterward Route::get('empresa', array('as' => 'empresa', 'uses' => 'EmpresaController@index'));…
-
2
votes1
answer132
viewsQ: How to identify route in Laravel?
I’m using a template for the menu and footer to be duplicated on every page. I put a if in the footer for when it is a given route it changes the content, but that is not what is happening, it is…
-
2
votes1
answer294
viewsA: Search for cross-results in related tables
I create the model but always call what I need in the model. I’ll leave the code only with the part you need Model According to Laravel’s Website DB::table('users') ->join('contacts', 'users.id',…
-
0
votes6
answers1855
viewsA: How to create link with Hover showing strokes on the sides
First of all, I thank all those who have come to my aid. Choose the answer from @Onosendai using the pseudo-elements. Code CSS ul > li > a { display: inline-block; background-color: #ccc;…
-
3
votes6
answers1855
viewsQ: How to create link with Hover showing strokes on the sides
What I wish to do I want to create a menu and for each link I want to apply an effect "Hover". When the user hovers the mouse will be shown strokes to the sides of the link. Image Example Follows…