Questions tagged as 'get'

1
answer

What's wrong with this concatenation? [duplicate]

$('#cidades').load('cidades.php?estado='+$('#estados').val()+'&cliente='+idcl); $('#transacao').load('transacao.php?estado='+$('#estados').val()+'&cliente='+idcl+'&teste='+$('#cidades')); In the line above in bold...
asked by 09.12.2015 / 17:06
1
answer

How to checkbox checkbox fields dynamically with PHP? [duplicate]

I'm sending neighborhoods through $ _GET through a form and would like to dynamically mark them in the screen update thus making a system persistence of the results sought. <fieldset class="normal"> <input type="checkbox" name...
asked by 05.11.2014 / 04:29
1
answer

How to restrict GET requests from other sites?

I'm trying to prevent other sites from copying my download links, but they're not conventional (they are not formatted at the end), so I can not block through Apache's mod_rewrite. So I decided to block GET requests from other sites, but the...
asked by 19.01.2018 / 04:08
1
answer

Make external value calculations ($ _GET) [duplicate]

Good afternoon, I'm new to php, and I'm doing some exercise, but I can not do an exercise that asks to do sum, split, multiplication or subtraction depending on the values entered in $ _GET, but using elseif? I leave an image of the exercise,...
asked by 05.07.2016 / 16:40
1
answer

Angular: persist return of get in function / variable

booksList: Book[]; listById(id: number): Book{ this.http.get<Book>('${url}/list/id=${id}') .subscribe((response)=> { this.book = response; console.log(this.book); //aqui existe o livro...
asked by 27.12.2018 / 14:39
1
answer

Indefinite Index - PHP

In my PHP code, even with MySQL and Apache connected, the error appears    Notice: Undefined index: name in C: \ xampp \ htdocs \ store \ add-product.php on line 4       Notice: Undefined index: price in C: \ xampp \ htdocs \ shop \ add-prod...
asked by 11.12.2018 / 17:43
1
answer

What is the difference between $ _GET and $ _POST? [duplicate]

Could you explain in detail what they are? And also give examples of how they work?     
asked by 19.06.2017 / 19:00