Posts by Robson gomes de jesus • 338 points
7 posts
-
0
votes1
answer797
viewsA: How to get an answer that is in the request header
As for the headers leaves so: setTotalTopics(response.headers['x-total-count-topics']); setTotalUsers(response.headers['x-total-count-users']); As for the other data read my comment and post, we…
-
0
votes2
answers79
viewsA: Require_once on ubunto does not work and returns no error
by ends go to the folder where the project is for example: cd /var/www/website make sure it’s root (Obs: sudo su to log in as root) apply the commands find . -type d -exec chmod 0755 {} \; and find…
phpanswered Robson gomes de jesus 338 -
3
votes1
answer263
viewsA: If it works but Else doesn’t
change keypress to keyup and remove typeof example: var z = document.getElementById('name');//input com ID name var x = document.getElementById('label');//label com ID label…
-
2
votes1
answer1158
viewsA: Upload/download files with Codeigniter
if you have not created the . htaccess file, create the . htaccess file at the root of your project: Obs:create the file where the main codeigniter index.php file is located and leave him like this:…
-
6
votes1
answer129
viewsA: How to make a SELECT between two tables and their WHERE’s?
$subcategorias = $this->db->prepare("SELECT `subcategoria` FROM `admin_categorias` INNER JOIN `admin_subcategorias` ON `admin_subcategorias`.`id_categoria` = `admin_categorias`.`id` …
-
3
votes1
answer60
viewsA: Page refresh with limit
Clarify a little more what you need, but yes it is possible an example in javascript: var vezes = 2; var conta = window.location.href; conta = conta.split("conta="); if(conta.length > 1){ var num…
-
2
votes1
answer326
viewsA: Help with PDO (PREPARE)
In your example in your Bank class you need a Return in the constructor where you call the $this->connect() method and also a Return in the $this->connect() variable where you connect to the…