Questions tagged as 'php'

3
answers

print variable with quotes in another php file

Friends, I have a problem with the "... really a headache, I have a php that writes another php code, something like this: Php1 writes content in a file called file and file must execute a mysql statement with the value of a variable that was in...
asked by 01.06.2018 / 19:48
1
answer

Use variables defined in another PHP file

I am trying to put the variables with which I will make my connection to my database in a separate file. The file is like this (I have omitted passwords and names to ask the question): connection.php: define ( 'DB_HOST', 'localhost'); def...
asked by 03.06.2018 / 13:45
1
answer

Error calling jquery library Uncaught TypeError: $ (...) .Datatable is not a function

I have a problem when using a datatable plugin, I think it loads the jquery script twice, but I do not know where. <script src="../src/js/jquery.min.js"></script> <script src="../dist/js/getorgchart.js"></script> <...
asked by 03.06.2018 / 16:50
2
answers

How to pass data depending on the input with a select to the controller

Goodbye everyone and thanks for your interest, I have a problem and I try to create a form with 2 inputs and a select, each one sends a different data to the php driver, <form method="post" action = "{$link->getModuleLink('krack', 'lista...
asked by 07.06.2018 / 07:46
1
answer

Errors with Zend / Translate.php

Zend Framework shows me errors, the services I have for the local server are: xampp (MySql and Apache) in Mac High Sierra.    Warning: include (Zend / Translate.php): failed to open stream: Not such   file or directory in   /Applications/XAMP...
asked by 07.06.2018 / 23:11
3
answers

pass a variable from one php file to another

I need to pass my variable $ _process of my document save.php to datos.php by URL I have the following in guardar.php <?php require_once 'conexion.php'; $_Proceso = $_POST["Proceso"]; $_Actividades = $_POST["Actividad"]; $_Entr...
asked by 07.06.2018 / 21:22
1
answer

pop up with data already in mysql

What my page needs is that when modifying a data under an ID, it opens a pop up with data that I have in the db, try to search but I did not find something to help me, the code that I have so far it serves but only to insert <script> fu...
asked by 25.06.2018 / 08:26
1
answer

Execute a PHP Script

I have a script that imports data from one system to another so it is a system that requires time since it passes almost 300,000 records. For this I have created a class with PHP using the laravel framework but I get an error 504 when executi...
asked by 25.06.2018 / 08:09
2
answers

Problem to update record with php and mysql combobox?

I'm doing the update of a record in my BD by <select> but it does not work for me. monitoringService.php <html> <head> <form method="POST" action="actualizarSeguimiento.php"> <label>Situacion: <...
asked by 08.06.2018 / 20:02
1
answer

Get the code in an Array

{ "name": "Afghanistan", "topLevelDomain": [ ".af" ], "alpha2Code": "AF", "alpha3Code": "AFG", "callingCodes": [ "93" ], "capital": "Kabul", "altSpell...
asked by 16.10.2018 / 00:31