Questions tagged as 'php'

1
answer

Make UPDATE to a MYSQL data via PHP with a similar value from the same query

My query in this opportunity is to know if it is possible to make a UPDATE to a database from MySQL where the existing value in the database is only added a letter My query is as follows: $query = "UPDATE pedidos SET status_pedido = '...
asked by 13.11.2018 / 06:02
4
answers

Save data printf in a string - PHP

Hello everyone I have problems saving the data of the printf function in a variable. this is my code: <?php header("Content-type: text/html; charset=utf-8"); $ultima_fecha = "12/08/2018 07:16:26"; $indice1 = explode("/", $ulti...
asked by 20.11.2018 / 22:29
4
answers

Problems with JQuery

My app worked correctly, now it does not throw me any kind of error, meanwhile when I run my browser's debugger in sends to jquery caught. <!doctype html> <html> <head> <meta charset="utf-8"> &l...
asked by 20.11.2018 / 18:22
1
answer

Check payment by Paypal

I have just done an e-commerce for a client, and I am implementing the code provided by Paypal to make the payments. Until now when you click on the paypal button, it redirects the user to the official paypal page so you can make the payment....
asked by 01.09.2016 / 10:06
2
answers

How do I select from Php in MySQL

I want to do a simple select from mysql, how do I do it? I think it would be something like that? <?php mysql_conect('127.0.0.1','root','clave'); mysql_query ('Select coluna1,colunna2 from tabla') ?>     
asked by 08.08.2016 / 01:20
3
answers

Send form array, php, mysql

Good, these days I was doing a form to keep some links inside my database, but the truth had never used the forms with array & I've searched a lot, but none of them I do. How can I make it work? My code is as follows: $screenshot = $...
asked by 10.09.2016 / 18:10
3
answers

Print session name (if it exists) in h1 tag? PHP

Problem : I want to print the user's name, to greet him, if he has logged in on the page. If you have not logged in then I want the title to be the default title of the page. Log in code: <?php include("conexion.php"); unset(...
asked by 08.10.2018 / 20:20
1
answer

DOMPDF does not support some characters

I am generating PDFs from HTML content through the DOMPDF library. What happens is that I need characters like these: ℣ ℟ However the PDF does not recognize them, I change them to the sign ? My HTML is well created and has...
asked by 04.10.2018 / 16:46
1
answer

Load data in a table without ajax

This is the first question I ask in this medium, I am new in terms of WEB programming and I am costing certain things. I have a problem when loading data, to see if I can explain myself: I'm using php and javascrip for a university projec...
asked by 09.10.2018 / 19:58
2
answers

Get value from cell1, cell2 and cell4

I want to get Columna1 , Columna2 , Columna4 but I've tried with mysqli_fetch_array but I think it's not the correct function I've looked at but I do not know what function I'm needing to extract it. $fila = mysqli_fe...
asked by 04.11.2018 / 18:44