Posts by Robson Freitas • 403 points
41 posts
-
0
votes1
answer67
viewsA: CSS file in Laravel
Try it this way: <link href="{{ URL::asset('css/style.css') }}" rel="stylesheet" type="text/css">
-
0
votes2
answers172
viewsQ: Foreach in Laravel only returns the first line
I got Following code down on Laravel 7 My controller is taking the many relationship to one as per the model below: public function listarPermissoes() { return $this->hasMany(Acoes::class,…
-
0
votes1
answer20
viewsA: Problem climbing app build to Apple
Solution I installed the XCODE and went up the build there. I believe this is a solution for those who have the same error using the Loader application.
-
-1
votes1
answer20
viewsQ: Problem climbing app build to Apple
I’m trying to build my app with the format . ipa. I am using the application Loader to upload this information. The app development is being done in phonegap. When I try to import to apple, the…
-
0
votes0
answers25
viewsQ: Apple Refusing my Phonegap app
Below follows the message of Apple Guideline 2.1 - Performance - App Completeness Your app still Crashed on iPhone and iPad running iOS 12.3 on Wifi when we tapped the "take a photo or video" button…
-
0
votes0
answers58
viewsQ: Input Images with Dropzone in AJAX request
I have a problem with my code referring to trying to perform an image input via AJAX. The PHP script is ok, because the same code is used in other operations, but I believe there is something wrong…
-
1
votes0
answers48
viewsQ: Is it possible to pass parameter to HTML page via Javascript?
I have the page index.html that I have a data listing as below: <ul class="list-group list-group-flush listDocsFIn"> <li class="list-group-item"> <a href="financeiro.html"> <div…
-
0
votes1
answer189
viewsQ: Query in SQL/Firebird grouping a sum by nature
I’m trying to make a Query in the product table to return to me the following information below: I’m trying to do it in a grouped way by totaling the values. There is a spine by name nature, that…
-
0
votes2
answers231
viewsQ: Stop Preload only when the page loads full
I have a Javascript function that performs the Preload, however the Preload is in fixed seconds. I would like when to load all data from the screen, the Preload hide. Follow the current script…
javascriptasked Robson Freitas 403 -
0
votes1
answer50
viewsA: Php with Firebird
I was able to solve this problem with php’s Ibase library
phpanswered Robson Freitas 403 -
6
votes3
answers965
viewsQ: List JSON data with Javascript
I’m trying to list the data of a JSON through Javascript, but it only presents in the list a position 0. Below follows the JSON: [ { "id":"23" }, { "id":"24" } ] I have the following code below…
-
0
votes2
answers42
viewsA: I can’t find which Style is separating my elements
you have the <div class="half__banner"> which contains the two divisions, the left the map and the right the car. within the <div class="half__banner__map"> you have all the code…
-
0
votes1
answer227
viewsQ: list Javascript events from a JSON in the Full Calendar (Events) library
I have a variable where stores the result of a JSON through an AJAX request, as below: $.ajax( { url: 'endpoint', method: 'GET', data: { action: 'getAgenda', keyuser: idLess }, success:…
-
1
votes2
answers403
viewsQ: Read JSON Key with Javascript
I’m having a hard time trying to read the value of a key specific to my JSON. I have the following JSON that is stored in my LocalStorage: {idCmos: "83903", codigoPlang: "302432", tipoPlang:…
-
1
votes2
answers836
viewsQ: Return data from a Json where there is a specific key in a PHP variable
I have a JSON with a standard structure. Within the structure I have the codTipo that would ruffle between To and B { "codSeq": "001224", "codTipo": "A", } { "codSeq": "001244", "codTipo": "A", } {…
-
0
votes2
answers107
viewsQ: generate Json through txt (Position) file by php
I’m having a hard time trying to generate the Json using the basis of a txt by certain positions. I could not evolve the code because I do not know how to make a explode in the position I need. Ex:…
-
1
votes2
answers1911
viewsQ: Create Trigger to change record only when modifying a field
I have a SQL Server registration table, I have a column that shows the status of this registration ('A','I','S','C'). I created a field with name Update_data, that you will receive a datatime every…
-
0
votes1
answer282
viewsQ: I cannot login with Curl in PHP. URL does not change
I am trying to log into a system using Curl. But I am not able to log in, I believe the problem is the redirect. I have a website (meusite.com.br) that has a form. this form calls the send page.php…
-
0
votes2
answers99
viewsQ: Remove . php extension from pages , but appears ERROR 404 - PAGE NOT FOUND
I’m looking to remove the . php extension from my web pages. Created a file . htaccess as below and put in the root directory DirectoryIndex index.php RewriteEngine on RewriteCond…
-
0
votes2
answers335
viewsQ: Json does not return data from Mysql database
I have a table in the database Mysql which contains 3 fields ( id, name and template) different from the other fields, the email template data with tags HTML (structure in longtext). When I execute…
-
1
votes1
answer1217
viewsQ: Load a TEXTAREA field from a SELECT with Jquery
I have a modal that performs email sending. Only I created some email templates in the database mysql. On the screen appears my select with all the templates for selection, only that I would like…
-
0
votes1
answer741
viewsQ: Summernote post WYSIWYG in PHP does not take HTML
I have a field textarea using Summernote WYSIWYG, I’m doing a post for a php page. but the post takes only text, the HTML tags it does not load to the post. Below I have the html that contains the…
-
1
votes1
answer623
viewsQ: Format summation result with comma - Jquery
I am making a sum of all the values related to a column of a table. When returning even to html, it is being returned without the comma. How can I proceed so that the comma is presented in the…
-
0
votes1
answer463
viewsQ: Calculate values for each column of an html table
I want to calculate values from a table. Each column has different values, at the end of the table, I would like to inform the total value. Below is my html. <table class="table table-striped…
-
1
votes1
answer349
viewsQ: Clear modal after entering record in database with php and ajax
I’m saving a record inside the database MYSQL with AJAX. The problem is when I will insert a new record with modal. It brings the record I entered earlier. How can I make the modal after…
-
3
votes1
answer123
viewsQ: Run modal only if there is a call
I want to run the modal only if there is the call. Because it is taking too long to open the page. Below follows the modal used: <div class="modal fade" id="m_modal<?php echo $count ?>"…
-
2
votes1
answer121
viewsQ: Table very slowly using Datatable
I’m bringing in 3,000 records from the MYSQL database using a connection to PDO and PHP. The time to be taken costs around 40 seconds to present all the data. Is Datatable unable to bring data by…
-
0
votes1
answer182
viewsA: Firebird and Mysql
Ideally, you can build an API that starts from the Firebird output to data processing in the Mysql database. My tip is as follows below: Create a PHP environment on the Firebird server. Ex: wamp,…
-
2
votes1
answer7523
viewsQ: (Mysql) Insert or Update in the database
I need to perform one Insert in the database, if there is no Cpf of a person. if there is it has to do a Update. But all this through a single script on Mysql. I illustrated the example below as I…
-
-1
votes1
answer2777
viewsQ: Save Json to a mysql database
I don’t know how to process to save one JSON within the database. The whole process is thus: I am sending from another server through the script below: $sql = "SELECT * from mgs_castloang";…
-
0
votes1
answer50
viewsQ: Php with Firebird
php can connect to Firebird database? I am in a demand to create a php system that has a connection. To generate data and be sent by email
phpasked Robson Freitas 403 -
0
votes1
answer144
viewsA: Site only works local, does not work online
I had a problem recently at a hostgator’s lodge. I had to create a php.ini file and activate the extension at hand. It tries to analyze whether the mysqli dll is enabled in your server’s php. I hope…
-
0
votes1
answer387
viewsQ: List mysql data in a modal using php
I would like to list a field that is in the database in a list that is already created. When the user clicks on the "title" field he has to call a modal with some database data. What happens, it…
-
1
votes1
answer988
viewsA: Edit select by displaying bank value and showing other table options
I managed by executing the following form: <select class="form-control" name="id_entidade_tipo"> <?php $result = mysql_query("SELECT * FROM gr_entidade_tipo"); while ($row =…
-
0
votes3
answers836
viewsQ: Show button according to php parameter condition
I wonder if it is possible to make the button appear only if the parameter is true. Through the URL comes the parameter ../usuario?id=1¶metro=1 I tried that way but I couldn’t <?php…
-
0
votes1
answer195
viewsQ: Appear Icone from the extension as per the file extension (doc, xls, pdf)
I’m on a demand for a php system. I am listing documents from a particular directory that is on the server in my html page <div class="tab-pane" id="docs"> <div class="table-responsive">…
-
2
votes1
answer988
viewsQ: Edit select by displaying bank value and showing other table options
I have the table that registers a user (gr_entity) and has a link with a user status table (gr_entidade_status). I want the editing form (editando_user.php) to show the value that is in the…
-
0
votes1
answer1584
viewsQ: php variable within javascript (Sweet Alert) line
I’m creating a message using the resource Sweet Alert, and where I need to present the person’s name inside a Alert coming from a variable PHP.So, I wonder how I can do it properly. Note: . The…
-
1
votes2
answers578
viewsQ: Receive POST ID and play to Location via GET
I need to get the ID of the entity that has just been registered. Only it will be played to another screen, to be registered other information. I would like to know how I can get the entity ID when…
-
0
votes2
answers770
viewsA: View ID in the form before registering php and mysql
<form action="set_user.php" method="post"> <div class="form-body"> <h3 class="box-title"><i class="icon-people p-r-10"></i>Dados Principais</h3> …
-
0
votes2
answers770
viewsQ: View ID in the form before registering php and mysql
I’m making a registration screen , only I wanted the system to already display the ID (id_entity) that will be registered. When saving, it will ask if I want to register documents, then if I click…