Questions tagged as 'phpmyadmin'

1
answer

How can you get a user's id?

I have a project in which when the user logs in, a session variable is created with the user field of my form. Now I would like to know how I can obtain the id, that is, the primary key of a user from a session variable, and then insert this val...
asked by 20.10.2017 / 06:35
1
answer

Error when modifying a PHP and MYSQLI image

I have this code but I'm getting this error ... <?php session_start(); $conexion = mysqli_connect("localhost","root","", "trigoyponque2017"); /* $ruta = $_FILES['foto1']['tmp_name']; $destino = "../productos/".$_FILES['foto1']['na...
asked by 04.10.2017 / 22:07
2
answers

problem with a query

I have a kind of invoice in which a calculation is made of the user that loguea of how much should be paid in that month of invoice (is condominium) in the query where the calculation is done I add that you make insert data in a table to save th...
asked by 07.10.2017 / 03:20
1
answer

Replace an old image with php and MySqli

Good evening! I know how to add an image and save it in my Mysql DB, but at the time of doing the UPDATE the image does not replace it. <?php session_start(); $conexion = mysqli_connect("localhost", "root", "", "trigoyponque2017"); $i...
asked by 25.10.2017 / 06:35
0
answers

What is better many functions each one with your query calling record by record or a single query with a single array?

Hello everyone for the first time I come here not because my code does not work haha but because I think that when I have many records my database will be encouraged, I explain I am generating a pdf document and have values that I take from the...
asked by 12.09.2017 / 20:42
1
answer

How to evaluate the opted records with SELECT to get the best one?

I have a database in Mysql 5.6 and I have a table where the drivers are registered, the database is used to manage the trips of a taxi site, it works in the following way: A client requests a trip, and that trip is recorded in a table called...
asked by 25.09.2017 / 20:32
1
answer

I can not enter Wordpress with user and pass created from phpMyAdmin

Migrate a site made in wordpress and everything is displayed correctly. The problem is that since I did not have the users to access the admin I went to phpMyAdmin / wp_users and there I modified user and password (as I did before). Despite doin...
asked by 31.08.2017 / 17:33
0
answers

Help .. Fatal error: Uncaught Error

would help me solve this error    Fatal error: Uncaught Error: Call to undefined function   mysql_connect () in C: \ xampp \ htdocs \ fairs-master \ conexao.php: 9 Stack   trace: # 0 C: \ xampp \ htdocs \ fairs-master \ fairs.php (3): include...
asked by 27.08.2017 / 01:59
0
answers

Check with LIKE and NATURAL JOIN but it only brings me a single record

Good evening I have the following query: SELECT producto.id_producto AS modelo,producto.descripcion_producto AS descripcion, mostrar_producto.muestra as stock,marca.nombre_marca AS marca, producto.ubicacion_almacen AS ubicacion,p_unitario....
asked by 29.08.2017 / 04:35
1
answer

Error uploading image. php jquery only saves the path but not the image in a local folder

The problem I have is that it uploads all the data to db but the image does not save it in the local folder. just the route in the db. Use phpmyadmin. if($_POST){ $nombre = sanitize($_POST['nombre']); $marca = sanitize($_POST['marc...
asked by 29.08.2017 / 20:37