Questions tagged as 'php'

2
answers

My database was not utf-8, how to fix the tildes, once already inserted PHP [duplicated]

Good morning. I have a database of 120 records, it is small, but it has an error when there are tildes, for example José a Josà ©, since it is something of practice there is no problem but if it were something bigger, it would have solution, a...
asked by 25.01.2018 / 22:01
2
answers

How to send various data from android to php

Good morning I am doing an application in android studio I am using php to make my connection with the database MYSQL . But when I make a query with a single argument to my database it works but I make a modification to send two arguments an...
asked by 17.04.2018 / 18:11
2
answers

Remove specific element in similar arrays within array

I need to get the status of the following associative array array: array (size=2) 0 => array (size=9) 'idnovedades' => string '1' (length=1) 'idGarantias' => string '329' (length=3) 'numeroOperacion' => string '329' (length=...
asked by 29.03.2018 / 16:25
1
answer

Nothing happens when I send in php form

I am studying php and I am doing a form where it is very basic that contains 2 input (Number 1 and Number 2) and a send button, what happens is that when you write the values in the input and give the send nothing happens, the only thing that do...
asked by 29.03.2018 / 00:56
5
answers

problem with LEFT JOIN

With this function I show a list of exercises belonging to a course that come from a table called "lessons" with the following important columns: lessons.id, lessons.number, lessons.course_id entre otras. all users see the same user_id is...
asked by 13.08.2018 / 21:31
2
answers

Passing data from a table in HTML to an insert in Mysql with PHP

I hope you can help me. What happens is that I have a table in HTML that I am generating with javascript, but the result that it gives me, I must save it in a table that I have in my BD HTML Table: I already tried going through th...
asked by 14.08.2018 / 22:13
2
answers

Problem with error "Trying to get property of non-object"

I get an error when I'm going to execute my code, it's the following: Notice: Trying to get property of non-object in C:\xampp\htdocs\results.php on line 61 Number of books found : This is the HTML form: <!doctype html> <...
asked by 27.11.2017 / 02:35
2
answers

Error using require_once

My problem is the following one I have an index.php file which has a login that sends the information "controller / login.php" which has inside these two require_once require_once 'conx/Db.php'; require_once '../libs/Security.php'; t...
asked by 09.09.2016 / 07:33
1
answer

Same question with different answer

Good morning: To work, take the essentials and it worked. $sql021x = "SELECT * FROM $t00 WHERE 00_idpac= '3' "; //$id el 3 reemplaza al $id sólo para no andar pasando por el buscador. To then include the join (which is not yet) I replaced...
asked by 11.10.2017 / 17:20
2
answers

Rename image when loading on PHP server

How about, I have a doubt maybe very basic but I can not find a code that works with mine. What I want to do is save an image on my server (it already does) but that it is saved with a unique name and avoid duplicates Here my code: /*O...
asked by 03.10.2017 / 17:48