Questions tagged as 'php'

3
answers

Login in PHP MYSQL Undefined index: Password

I'm doing a login with User and Password ... Send me this error: >    Notice: Undefined index: Password in C: \ xampp \ htdocs \ Task_Semana_11 \ Validar.php on line 6 ERROR LINE: $Clave=$_POST['Clave']; This is the PHP code:...
asked by 03.04.2017 / 05:08
1
answer

HTML5 audio wav 13kbps

They send me audios in .wav format with a bitrate of 13kbps that I need to play on an audio tag. The problem is that browsers, from what I have researched, support wav of 8 or 16 kbps. I've tried jQuery players like jPlayer and nothing .....
asked by 27.01.2017 / 10:37
2
answers

sql problem in php

I have a problem in the trend of SQL in PHP $where = ''; $sTable = "clientes"; $type = 'client(1);'; $usid = $_COOKIE['c_user']; $where = "";; if($_GET['q']!= "" ){ $where.= " WHERE fullname like '%$q%' AND user_id=1 "; } $whe...
asked by 21.01.2017 / 20:23
2
answers

Go through foreach in controller codeigniter

I have the following problem, I am working in Codeigniter and then I am doing a small validation in the index of my controller this is the code: function index() { $user = $this->session->userdata("id"); $co...
asked by 22.01.2017 / 00:06
1
answer

Modify session variable in onclick

I have 2 images, the idea is that when I click on one of them, I save the associated category in a session variable. I searched for information and tried with ajax, but mysteriously it returns ... code ... not the variable, that is ... something...
asked by 24.01.2017 / 15:30
1
answer

Extract value from an HTML tag with PHP

I need to know if using explode or substr I can get the values between the span tags of the following loop code. What would be the appropriate syntax? THANK YOU! Edit: all HTML computation is a field obtained from the bbdd <div...
asked by 13.02.2017 / 16:41
1
answer

ERROR 403 when uploading my page to my web server

Hello everyone, I have a 403 error (Forbidden), which occurs when I make a request via jquery (ajax) to a php. The funny thing is that I miss this error when I try to save a css tag on the server (background-image: url ('')). and it does not hap...
asked by 14.02.2017 / 21:35
2
answers

Query to display data from a single user of MySQL tables

I need to show on my page the contents of a table according to the user who has logged in. I am including the connection and the consultations where I must access to show me the user's data, which are already loaded in the fields of the tables i...
asked by 10.06.2017 / 06:03
1
answer

Show Image from a PHP remote server

What kind of friends my problem is this. I have a Server A where I have images, I have a server B which is the server of the applications, both servers are connected to a network and server A has a folder shared with server B with the letter...
asked by 09.06.2017 / 16:22
1
answer

Query in controller from ID with jquery

I am trying to extract data from a table from an ID and display it with a datatable. By jquery, I have the following function: var info = function(tbody, table){ $(tbody).on("click","a[id=ButtonMas]", function(){ if(table.row(this)....
asked by 11.06.2017 / 21:50