Posts by Guilherme Luis • 91 points
17 posts
-
0
votes1
answer68
viewsA: Recursive function to mount file tree
Solution: private function mountTree($folders, $folder_id = '', $include_files = false) { $tree = []; foreach ($folders as $folder) { if (strcmp($folder['parent_folder'], $folder_id) == 0) {…
-
-2
votes1
answer68
viewsQ: Recursive function to mount file tree
I’m having trouble assembling a virtual directory tree with its respective files. The modeling is as follows: Table: folders id name company_id parent_folder (self relationship) I mounted the…
-
0
votes2
answers461
viewsQ: Disable button while request is performed
I have a screen to add members and when the member is added the user already views in a table below (AJAX). When users are clicking on the add button the request may take, depending on "N" factors,…
-
0
votes0
answers40
viewsQ: Error generating date range with js
I have the following code to take a date range and send it to my PHP function (which is ok now): function calcular(){ var quantidade = document.getElementById('qnt').value; var inicio =…
-
0
votes1
answer52
viewsA: Enable Instagram Feed on the home (index) of the site
Go to appearance->editor In the right corner of the screen, look for the index.php file ("main page template"), then paste that code into the part where you want to display the feed. echo…
-
2
votes1
answer1000
viewsA: Conversion from . FRM to . SQL
Whoa, I got it this way! Just create some database and create some table too. Then go into the files that were generated: C: xampp mysql data DATABASE NAME YOU CREATED Delete all files from that…
-
1
votes1
answer1000
viewsQ: Conversion from . FRM to . SQL
I have a 300MB database and all I have are the FRM, MYI and MYD files. I need to convert the FRM files first to create the structure of the tables, I have already used the following tools and…
-
0
votes1
answer199
viewsQ: Update with two Yii2 models
I am studying about Yii2 and do not have much knowledge of the framework. I’m having difficulty updating data in the database that are in two different models (Student and Address). The idea is…
-
1
votes1
answer496
viewsQ: Change css when the site opens in ie/edge
I made a new page for a site and I’m having problems with the visualization of this page in ie/edge. (basically it’s just the margin-left of an element) For the search I did there is no more way to…
-
2
votes1
answer1294
viewsQ: Div below another - fixed menu
I’m creating a fixed menu and I’m in trouble. When I place the position Fixed in the div of the menu the div that was below (content) "goes up", so part of the content is hidden in the div of the…
-
0
votes1
answer447
viewsQ: Align radio button mobile
I’m having trouble leaving the radio button next to the text. Only in the mobile version that is "breaking" (The text is on top and the radio buttom go to the bottom line). I need you to stay like…
-
0
votes1
answer66
viewsQ: Remove <a> tag using php and leave only <td> text
I am using Phpmailer to send emails, but in the body of the email there is a field (address) that is coming as a link (for maps) to the recipient. I’ve used strip_tags() but it hasn’t solved.…
-
0
votes1
answer751
viewsQ: Save data from a web form to . txt on the ftp server
I am having trouble saving my data to a . txt on my FTP server. Locally managed quiet. Below is the code I am using locally: $arquivo = 'msg.txt'; $criar = fopen($arquivo, "a+"); $conteudo = "$nome;…
phpasked Guilherme Luis 91 -
-1
votes1
answer109
viewsA: How to capture data to only feed a list with VTEX
The following line was missing: __blc['id'] = "";
-
-1
votes1
answer109
viewsQ: How to capture data to only feed a list with VTEX
I made this js code to take input data (THIS GETTING THIS PART OK) from the page and send it to VTEX (IS NOT SENDING). Must be some detail you forgot about. I’ve done several js to capture the data,…
-
0
votes1
answer89
viewsQ: Changing links with Javascript or PHP
I have a problem with a button where I need to change its link with javascript or php. Come on! My platform generates an automatic form, but I don’t have access to the source code. The form collects…
-
2
votes1
answer1331
viewsQ: Sending data via Link (POST or GET)
Good morning my dear, I’m new around here... First of all, I want to point out that I have read the topics that exist in this forum and I could not solve my problem! My problem is to send only the…