Questions tagged as 'mysqli'

1
answer

PHP Error when inserting MYSQL data

Hi, I'm trying to insert data into my mysql tables, but I have trouble inserting it. It turns out that I want to insert my data in these two tables: This is the code of my form maintenance_employee.php : <form action="php/regis...
asked by 21.06.2016 / 09:00
1
answer

Sum of two fields

I'm trying to add two fields but I can not make it my structure is this. INSERT INTO 'servicio' ('id', 'Nombre', 'Caida1', 'Caida2', 'Caida3', 'Caida4', 'Confirmado') VALUES (1, 'TEST', 54, 0, 0, 1, 0), (2, 'TEST2', 19, 8, 1, 1, 0); I tri...
asked by 04.11.2018 / 22:25
2
answers

PHP MYSQL (Modify Records) - Fatal error: Call to a member function bind_param () on boolean in update.php on line 13

I hope you can help me, I want to modify records to a table of 44 fields, I have another related table for one of the fields, and I get the following error when wanting to modify something: Fatal error: Call to a member function bind_param () on...
asked by 05.04.2016 / 18:25
1
answer

How to insert several products, in different registers in the same table?

Good afternoon, dear friends, I need you to please help me if possible with this problem that I can not find a solution for, if it is not an inconvenience, and thanks in advance for your help, advice, or guidance. The issue is that I am makin...
asked by 05.03.2018 / 20:37
1
answer

Character & is not recognized when performing select to mysql database [closed]

Good morning, please have a problem when making a select to my SQL database, since I do not recognize the '&' character in the query and therefore does not return the records consulted. I appreciate your collaboration.     
asked by 02.05.2018 / 16:07
1
answer

how to visualize a subquery while viewing the web without apliacr submit [closed]

I explain if when creating this website, I select a table: Table sr_productos id nombre_esp 1 NombreA 2 NombreB 3 NombreC 4 NombreD the id 1 who in the textarea part marks the result of immediate in the variable: $id_producto2 T...
asked by 16.01.2017 / 02:32
1
answer

Check text string

I would like to know how I can do to read a string of mysqli text and if there is a word with "#" I can give it styles or put it in a hyperlink     
asked by 01.12.2018 / 18:16
1
answer

Error log in Mysql

How to obtain the log of the errors in the base of satos mysql Server version: 5.1.73, in my server in centos. Thanks.     
asked by 14.06.2017 / 17:18
1
answer

Copy VARIOUS fields from one table to ONE field from another in MYSQL [closed]

Good morning, I just registered and first of all I want to thank the willingness of this community to answer the questions we know least about. What I need is if someone can help me by informing me if it is possible to copy one or more fields of...
asked by 10.09.2018 / 15:23
1
answer

How to use the mysqli prepare function?

It happens that googling a bit to know how to improve the security of a web system and protect a little against sql injections I read that one of the best ways is to use PDO however I am more familiar with mysqli so I intend to use the funct...
asked by 27.10.2016 / 23:22