Questions tagged as 'php'

1
answer

Does not record form data in the BD

Good, yesterday I spent hours and hours trying code to register the data of a form in my database on an external server and I did not get it, I was asking and they passed me a code that worked for them but to me no, I'll show it to you next in c...
asked by 28.12.2017 / 09:22
1
answer

Broken Image PHP

Friends, I have my web with images of small sizes for example of 96x96 px that in development shows normal, but when I upload it to production it comes out in the following way I have to do several times F5, so that the image is visualized,...
asked by 16.12.2017 / 16:22
1
answer

PHP in_array $ _REQUEST

I'm checking the treatment of a web page . I have a series of valid IDs, existing in a table, stored in the variable $ misids; (Returns an array). I want to check that the user is not "bad" and wants to access a non-existent id of the page....
asked by 14.12.2017 / 08:55
1
answer

Variable passed from php to javascript does not show all characters

I have this function on a button "<td><button type='button' class='btn btn-primary' onclick='CrudNotas(".$row['rut_alumno'].")'><span class='glyphicon glyphicon-plus' aria-hidden='true'></button></td>" which wh...
asked by 05.12.2017 / 23:44
2
answers

Delete data from two Mysql tables?

I would like to delete data from two different tables in Mysql with PHP, I have the following tables; Table Magazine id_revista|no_revista|colaboradores|imagen |fecha_publicacion|archivo|clave 1 |No. 1 | Ana Luna |img.jpg |2...
asked by 06.12.2017 / 16:54
2
answers

Problem sending data with $ .ajax ()

Thanks in advance to all who can help me with this doubt. I'm just starting with JQUERY and I'm trying to make a form that should do some calculations based on data that returns a db with a query in external file in php. Based on everything I ha...
asked by 04.12.2017 / 20:05
1
answer

Because these files are not integrated to the wordpress theme

Good day, I ask this question since I am trying to integrate a file with css properties to WORDPRESS where I have everything related to the responsive and the topic is not applying the changes the same thing happens with the .js file that I want...
asked by 02.12.2017 / 17:44
2
answers

How can I apply color to a second column if the condition is APPROVED or REJECTED?

introducir el código aquí <style type="text/css" rel="stylesheet"> .APROBADO{ background-color: red; } .RECHAZADO{ background-color: red; } </style> function cargaPagina(pagina) { var desde = pag...
asked by 03.11.2017 / 21:44
1
answer

How can I know the data of a PHP API?

A silly question as I can know the data of this Api using PHP this function foreach I'm forgetting how to use but what I want is to know the name and price_usd $tick = file_get_contents('https://api.coinmarketcap.com/v1/ti...
asked by 11.01.2018 / 16:40
1
answer

Generate a SQL file with Codeigniter

I want to make a backup of certain tables in my database a .SQL from php using the framework Codeigniter Any idea how to do this? I'm in 0     
asked by 11.01.2018 / 16:20