Posts by Eduardo Correia • 307 points
19 posts
-
0
votes1
answer56
viewsA: Laravel API Guzzle recording data in the database with array -> HOW TO DO?
my brother helped me with the solution, follows below: $data = $response->getBody(); $data = json_decode($data); for($ix = 0; $ix < sizeof($data) ; $ix++) { $products = new Product();…
-
0
votes1
answer56
viewsQ: Laravel API Guzzle recording data in the database with array -> HOW TO DO?
Hello, I have an API that consumes external information and needs to record the resulting data in the database, but is returning data in an array. I need a help to record the data, I appreciate the…
-
0
votes1
answer60
viewsA: Wordpress with CF7 recording in external Mysql
Solved I used the CF7 feature to pick up your variables and send for a redirect through the link. On the destination page I rescued them and used in the bank as needed.
-
0
votes1
answer60
viewsQ: Wordpress with CF7 recording in external Mysql
Inside a WP I have a CF7 form and I need the fields (usually are [this way] as variable default in CF7) to be sent to an external PHP page that will receive these values through the link and write…
-
1
votes1
answer111
viewsQ: Error BOOTSTRAP SASS _is not a color for `Darken'
This error returns when I sort these @import files in my app.scss, using SASS/[email protected] on a Mac. I need to understand where the error is, if by reversing the order (custom variables at the…
-
0
votes3
answers268
viewsA: PHP How do I make an image to be the default icon if I don’t have an image selected?
I need that when he, at this stage of user registration, NOT set an image, enter a pattern, some indication? Thanks
-
1
votes0
answers98
viewsQ: Thunkable x firebase: random result
I set up a block that goes up image to Firebase and it works. Now I need to assemble a block that brings one of these randomly. Some light, if you please?
firebaseasked Eduardo Correia 307 -
0
votes1
answer49
viewsQ: Build a script for similar information (PHP, Procedure, etc.)
In a database I have registration information as: age color heaviness That of each person registered. How to identify people who have exactly the same data on this basis? In practice: Edu, 46,…
phpasked Eduardo Correia 307 -
5
votes2
answers883
viewsQ: AWS - Remote access to the instance
Good! I created a Linux instance Amazon and a Windows, followed all the steps to generate key, import and change it via Putty, opened the key, asked for the connection with the care of ec2-user bla…
-
-1
votes7
answers1134
viewsA: Select a file by name in PHP
Very interesting staff the various collaborations, but follow the final code for those who need it (thank you): $data = date('Ymd'); //pega data no formato $str = $data;//cria variavel com a data…
-
3
votes7
answers1134
viewsQ: Select a file by name in PHP
Good afternoon, I need help selecting a file by its PHP name. I use the nomenclature pattern starting with the file creation date in the format: 20160111_ALGUMA_COISA and I need my PHP to select…
-
-3
votes1
answer121
viewsQ: Link counter - no external page, using JS onClick() or other solution in PHP + Mysql
Hello, I seek help to assemble a link counter. I would not like to use a collection page but rather a solution that runs on any page. Example on a page with 03 links: link01.php, link02.php (which…
-
0
votes2
answers105
viewsQ: Print results in a feed interspersed with horizontal spaces (blank line)
I set up a news feed that reads the information in a database, but I need that instead of each line being printed one after the other, I need to be given an interval between each print with a blank…
-
4
votes1
answer650
viewsQ: Bootstrap 3: left tabs no longer work?
Hello, this following code no longer works on Bootstrap 3? <div class="tabbable tabs-left"> <ul class="nav nav-tabs"> ... </ul> <div class="tab-content"> ... </div>…
-
1
votes1
answer278
viewsQ: Page of product comparison
I created a page where I first make a choice on a select/list (musical genre), then depending on the choice appears the second select/list (music) with options related to the genre. What I need is…
-
0
votes1
answer178
viewsQ: Processing of returned values in the query
I need to "handle" the return of a SELECT as follows: - value saved to the bank: www.dominio.com.br or www.dominio.com - value treated on page: dominio; I mean, I need query "remove" what is before…
-
1
votes1
answer288
viewsQ: Create different random password for each loop record
I have a loop that you should enter a random password for each record, and when you finish the loop (have created different password for each record), list the results by viewing the password.…
-
2
votes1
answer393
viewsQ: PHP PDO does not run UPDATE on the same SELECT page
Problem: make UPDATE work Question: Is the script correct? Request: Identify the reason for not doing UPDATE and generate error. Error: Notice: Undefined variable: db and Fatal error: Call to a…
-
0
votes1
answer8670
viewsQ: Recover select value via JS and play in PHP variable
I need to take the chosen value of select and play in one query, how to do? In practice (following the example) I choose in select a driver and this select will return below all the records…