Posts by MarcosJunior • 193 points
8 posts
-
3
votes2
answers769
viewsQ: Send file to remote server with PHP
I have a PHP system that I developed and put online on my server at Digitalocean, the site has two parts, which visitors will access and the administration area where I manage this site and put the…
-
2
votes2
answers5168
viewsQ: Relational database model with SKU
I am creating a system for selling products and I need that these products can have different prices according to their size or color, for this I am using SKU, I am creating the relational model of…
-
1
votes1
answer3029
viewsQ: Location container Docker on host
Since I started using Docker last year, to directly access the files in my container I used the following steps: Docker Inspect -f {{. Id}} container_id It returns me the full id container With the…
-
1
votes1
answer1194
viewsQ: Create Mysql Trigger increment/decrement attribute
I have the following tables -> app(id_app, nome_app) -> category(id_category, nome_category, total_apps) -> app_category(id_app_fk, id_category_fk) What I want to do is this, that whenever…
-
5
votes3
answers106
viewsQ: Avoid the last occurrence of a character concatenated in a loop
The question is as follows, whether I have a foreach or which; want another repeat structure that receives data from the table and displays the categories: foreach ($categories as $c){ $c.nome . ' -…
phpasked MarcosJunior 193 -
1
votes1
answer386
viewsA: Ratchet Fatal Error: Class 'Myapp Chat' not found in C: wamp www bin chat-server.php
I was with the same problem, but I managed to solve it as follows, after doing all that you did, enter again in the folder of your project via terminal and run: composer update after that run the…
-
1
votes1
answer412
viewsQ: Drag & Drop Jquery UI how to hide Div after drop?
I’m trying to do the following operation, I have 3 Divs a Droppable and 2 Draggable, I want when I drag one of the draggables and drop on top of the droppable the Draggable is hidden by stopping…
-
4
votes1
answer247
viewsQ: jQuery Window plugin gives "$ is not defined" error
I’m having the following problem, I found a plugin, jQuery Window, that opens windows with minimize button, maximize, etc., and opens pages inside this window, only that I’m not able to make it…