Posts by Murilo • 109 points
18 posts
-
0
votes1
answer57
views -
0
votes1
answer122
viewsQ: Conversion of SESSION Mysql to SESSION into PDO
How do I convert this SESSION below Mysql to PDO. <?php if(count($_SESSION['carrinho']) == 0){ echo '<tr><td colspan="5">Não há produto no carrinho</td></tr>'; }else{…
-
0
votes1
answer33
viewsA: Conflict in Requisition
I managed to solve by changing the Request script and inserting the , and so the code was working: Pagina index.php: <!DOCTYPE html> <html lang="pt-BR"> <head> <meta…
-
0
votes1
answer33
viewsQ: Conflict in Requisition
I’m having trouble making the page car php. work opening in the DIV visual through the link when accessing the provisional address "https://www.pbfjacarepagua.com.br/teste/index.php" But when I…
-
1
votes1
answer260
viewsQ: How to create a request via GET
This attribute below is working with href, and directing me to the desired page. <a href="prod_detalhe_5.php?codigo=<?php echo $res['codigo']; ?>"> <img src="img_produtos/<?php…
-
0
votes0
answers64
viewsQ: Problem with GET Request
I am successfully using the script below to open in Visual DIV, products related to selected brand: Link to the Brands: <a class="marca" style="cursor:pointer;"…
-
0
votes2
answers351
viewsA: Request via GET
I am posting the solution I found to bring only the data related to the consultation made by the title of the products. The Code for search or search was like this: <div> <span>Busca…
-
1
votes2
answers351
viewsQ: Request via GET
I am trying to create a search system using a Request to get the search result. I am not able to bring the product data related to the title researched. Whatever the searched word, it always brings…
-
0
votes0
answers36
viewsQ: How to fetch the product by its title?
I am trying to search for the title of the product, but regardless of the title consulted, it always returns me the last record of the Product table. I am using the following code below to run the…
-
1
votes1
answer47
views -
1
votes2
answers86
viewsA: Help with Ajax Requests to get BD data
Problem solved with the help of Wees Smith. Below working codes. The Code below searches the page with the products related to the requested brand. echo '<a class="marca" style="cursor:pointer;"…
-
1
votes2
answers86
viewsQ: Help with Ajax Requests to get BD data
I am currently using this Code below to search the page with the products related to the requested brand. echo '<a class="marca"…
-
0
votes1
answer78
viewsQ: Continuation of Help with asynchronous request script
I solved with the help of Marcos Brinner, the problem with Detepicker according to previous post. But he painted another doubt regarding asynchronous request, between the Detepicker (Calendar) and…
-
0
votes1
answer67
viewsQ: Help with asynchronous request script
This form will have the purpose of scheduling for consultation, with the client selecting the desired professional, and having a calendar with the weekly days selectable for service. For example: Dr…
-
0
votes1
answer326
viewsQ: Help with Ajax Combo Box
I used a video lesson from Youtube to create a Combo Box of States and Cities, but I followed the reasoning of the page ESTADOS.PHP and entered in the page CIDADES.PHP and created the page…
-
0
votes1
answer88
viewsA: Help with unlink in PDO
Hello, I managed to solve the problem, and put below the code working without errors for future questions of friends. <?php $sql = $pdo->prepare("SELECT * FROM banner WHERE codigo = $codigo")…
-
0
votes1
answer88
viewsQ: Help with unlink in PDO
I am trying to migrate MYSQL to PDO, and came across a problem with Unlink. With the code below I can do the UPDATE in the BD Banner table, and also store the new file in the destination folder…
-
0
votes0
answers69
viewsQ: How to get product data with Javascript, ajax and PHP
Hello, I am unable to bring the product data to the <div id="services"></div>. I notice when I take that part of the code ?codsubcategoria='.$res2['nome'].' of <li…