Questions tagged as 'php'

1
answer

Notice: Undefined index: Sending variable by post

I'm doing a nested select with connection to mysql and sending a data with the post method throws me the error of undefined variable, perform the tests and in fact nothing is being sent. I use Jquery to send this data in my case is the region id...
asked by 27.08.2018 / 17:18
1
answer

Help with the error: Trying to get property of non-objet

When this code is executed <?php session_start(); ?> <?php $host_db="localhost"; $user_db="root"; $pass_db=""; $db_name="Proyecto"; $tbl_name="Usuarios"; $conexion= new mysqli($host_db, $...
asked by 22.08.2018 / 23:18
1
answer

typescript filtering

I need to make the function query "clients" be entered in the "getimtems" function to be able to filter the data Here I get the query: clientes() { this.userData.accion="consultaclientes"; this.restprovider.Registro(this.userData).the...
asked by 30.09.2018 / 21:13
2
answers

Database does not receive / save data from php form

I have this problem and I do not understand where the error could be, when I click on the final submit it does not save anything in the DB. If they need another code fragment or show the BD they tell me. I hope you can tell me why you are not...
asked by 01.10.2018 / 18:29
0
answers

I can not list with ajax php and jquery

When trying to list the products I get an error, the funny thing is that locally it works very well but when doing the deploy it shows me the error "DataTables warning: table id = datatable - Ajax error For more information about this error, ple...
asked by 30.09.2018 / 06:59
1
answer

Variable value in arguments [0] to session variable

I need to assign a SESSION variable of php, with the value arguments [0] of a function of js. Can it be done? "PHP"................"JS" $_SESSION['id_ad'] = arguments[0];     
asked by 03.10.2018 / 21:18
0
answers

help Warning: PDOStatement :: execute (): SQLSTATE [HY093]: Invalid parameter number

<?php class Insertar{ public $mensaje; public $nombre; public $email; public $password; public $genero; public function insert() { $model = new Conexion(); $conexion = $model->conectar();...
asked by 17.08.2018 / 23:31
3
answers

How to use an Array array and declare variables

Hello I'm just new to PHP I want to declare variables with the result of a while of an Array <?php include("conexion.php"); $query4= mysqli_query($conexion,"SELECT refprofesor FROM asigna_materia WHERE refgrupo='3-A' AND refcarrera='09TIC...
asked by 18.08.2018 / 05:52
0
answers

Fatal error: Uncaught exception 'Exception' with message 'Failed: Must provide either labels, user_ids, or addresses as destinations.

Hi, I have a problem with a script that I recently acquired ... because you can see my script can receive payments by people in block.io that is a wallet platform anyway ... well my problem applies when I started test the payments. everything...
asked by 19.08.2018 / 01:08
2
answers

LARAVEL 5.2 - Integrity constraint violation: 1452 Can not add or update to child row: - Problem relating tables

I'm trying to fill some tables with the faker library, so far I have not had any problems, since they were mini-projects and the tables were not related, but now, I'm starting with relations in laravel and I get an error that does not I can solv...
asked by 18.05.2016 / 20:02