Questions tagged as 'php'

0
answers

PHP strftime delete fix

I am creating an arrangement to fill a table with the query of a database, at the time of bringing the dates that are saved I format them in Spanish to pass them to the arrangement but it does not show anything. This is the php: <?php $s...
asked by 03.08.2018 / 15:00
0
answers

insert and update in the same table in codeigniter

I'm new to Codeigniter, I'm creating a Ws in php that inserts data in the database and then updates them depending on the user id and device and if not send me a message that corresponds to data inserted, data updated and if there is a repeated...
asked by 03.08.2018 / 16:56
2
answers

Install 2 versions of PHP in XAMPP

How can I install two versions of php in xampp? As you can see xampp has installed the PHP version 7.2 but unfortunately this is bringing complications when creating word documents with php, I use the PHPWord library because it is the only one t...
asked by 03.08.2018 / 15:20
0
answers

Problems with two autoload in PHP

Good I'm doing autoload without framework or composer anything else with php, then I saw in a blog that you could use two autoloads in the same folder, but when I apply it for two directories I get an error tells me    Warning: require_once (...
asked by 12.08.2018 / 16:58
0
answers

I can not show the result of 2 joined SQL queries

I want to show the result of these queries, I get the error of:    A session had already started - ignoring session_start () in   C: \ wamp \ www \ curso2.0 \ production \ pruebaTusCursos.php on line 3 I removed that error with: if(!is...
asked by 12.08.2018 / 18:11
2
answers

Ideas of how to validate scheduled dates and times by means of only input

To explain myself better I'm doing a school project together (as a team), the project is a dating management system in the dental office field. In which I am currently stuck since I do not know how to proceed to validate appointments, for exampl...
asked by 12.08.2018 / 22:43
2
answers

Keep the record of a ComboBox in an edit form

I have a problem with a form to edit employees, I have a comboBox where I display the posts that exist in a select, but I can not get in this form to edit I selected the option that has the record is only printed as it would be by default. I app...
asked by 12.08.2018 / 16:07
0
answers

SoapFault: Technical: PX000040: BEA-382505: XPath statement prod

I really need your support urgently, I am currently connecting to a web service of a client who has given me 2 WSDL routes to connect me. The first connects me without problem, but when applying the same structure to consume the other service, t...
asked by 07.08.2018 / 15:34
1
answer

Go through an array of a model (laravel)

I have a class Roles where I define a static array like this <?php namespace App; use Zizaco\Entrust\EntrustRole; class Role extends EntrustRole { public static $roles = [ 'admin1aaa' => [ 'name' => 'admi...
asked by 07.08.2018 / 12:40
0
answers

Upload content of TinyMCE

I have installed TinyMCE on my website and I upload the plain text perfectly to the Database but if I try to upload an image or video I create the label <p>&nbsp;</p> with the links the same happens to me ... Is it a pr...
asked by 07.08.2018 / 14:41