Questions tagged as 'get'

1
answer

Doubts question and answer systems with $ _GET method

I have a system that shows a question and the person responds, but I am with a failure, following:  When the staff responds step I use the $ _GET method to pick up the response from it and insert the information into the bank, plus the failure a...
asked by 13.04.2016 / 17:26
1
answer

Check if a parameter passed by the url exists inside the View

I have this following code in my Controller : public function SetImageAndColor($client_id) { if(isset($_GET['color']) AND isset($_GET['image'])) { $dados['click2call'] [$client_id] ['image'] = $this->input->get('image'); $dados['cl...
asked by 24.03.2015 / 19:22
1
answer

PHP Using SESSION with Array

Good night, my goal is when to go back to the products page, and go back to the cart, holding the session variable and also fill the cart page with more products each time the array receives a new one as it is generating one product only. Thank y...
asked by 12.03.2015 / 00:15
1
answer

PHP + HTML Unexpected result with $ _GET

You are not getting the value false, and displaying the else block. It was passed by the url and only executes the if block of true value. Someone gives me a help, thanks in advance. Here is the code below: <!DOCTYPE html> <!-- To cha...
asked by 05.03.2015 / 20:31
2
answers

Sending problem via URL (GET)

Good morning friends, I have these buttons here: <button class="btn-excluir" data-id="1">Primeiro</button> <button class="btn-excluir" data-id="2">Segundo</button> <button class="btn-excluir" data-id="3"&...
asked by 28.09.2018 / 14:38
0
answers

Why does not my switch generate the correct results? [closed]

I'm using a condition and a switch to determine some values for some variables, but I'm not getting the expected results. When the <a href="index.php?post=myFile"></a> link is clicked, I expect to run the first case on the...
asked by 02.09.2018 / 17:31
0
answers

Error when querying api created in R with plumber

I have created a ppi in plumber, when I query this api directly in the browser I can see the data, but when I use the GET () function I get the following error:    Error in prettyNum (.Internal (format (x, trim, digits, nsmall, width,   3L,:...
asked by 30.07.2018 / 14:06
0
answers

How to receive value by GET?

I'm trying to get a value to get in the url but I can not get someone to help me and show me my error: <?php require_once("../database/conexao.php") ?> <?php url = teste.com/teste.php?q=123456 if( isset($_POST) & !empty($_POST)...
asked by 19.05.2018 / 07:27
0
answers

Slim return on the same page as a POST post

I'm sending a post request to a URL, but I need to return a message or alert to the same page whether the ID is already registered or not. I already have the query and method to do this, however I am not able to send the return to the same p...
asked by 12.05.2017 / 17:53
0
answers

PTBR FATAL EXCPETION: main java.lang.RuntimeException - window get call back

I'm doing an application that needs to switch between screens and the following error appears: inicio.java: package com.example.deadsec.gerflores; import android.content.Intent; import android.support.v7.app.AppCompatActivity; i...
asked by 11.04.2017 / 22:03