Questions tagged as 'php'

2
answers

Parsear array object in php

I am consuming a Webservice Soap of type asmx from PHP . I receive the data but it does not give me the object array ordered with the fields that returns the XML of the Webservice , it is like that it show...
asked by 05.01.2017 / 19:59
2
answers

PHP Uploader - Problems with UploadDir option

Hello and thanks in advance for the help;) I'm using the link plugin, for PHP Uploader, and in /php/class.uploader.php I'm trying to change the path where I upload the files: private function initialize($field, $options){ if(...
asked by 28.12.2016 / 10:15
0
answers

Change appearance of a website [closed]

I'm doing a website with php, html5, css3 and javascript. In my html code with php I have different div which have different colors and the text that appears in them has different families letters. I would like to make a section on the web in...
asked by 27.12.2016 / 13:47
0
answers

Foreach with references

Is it possible to use a foreach with references, to optimize the loop? private function getClientUnPaidSettlements() { $settlements = ClientSummary::query()->getUnPaidSettlement()->get();...
asked by 16.01.2017 / 21:24
2
answers

Syntax error including the tag? php? in HTML [closed]

<select id="user_type" name="user_type"> <option value="0">Select an user type</option> <?php while($row = $result->fetch_assoc()){ ?> <option value="<?php echo $row['id']; ?>"><?php echo...
asked by 14.01.2017 / 02:07
1
answer

Problem to login with PHP

My problem is as follows; In the if where I make the comparison of $ row other than null, I do not know why the value is null and therefore I miss the error I have in the else. Here my code: <?php if(isset($_POST["enviar"])){...
asked by 23.01.2017 / 23:07
2
answers

I can not upload Image with AJAX

I have a HTML Form so I can update the profile image of the users by my own. I have the AJAX that sends the image via POST to PHP and in turn PHP uploads it to the server. The problem is that, although the form allows me to choose the file, w...
asked by 24.01.2017 / 17:08
3
answers

Error entering data to MYSQL

What happens is that everything worked fine until I added codsem - > which is semester code. Now he tells me registered assistance when the student does not exist and not even. <?php $link = mysql_connect('localhost', 'root', '') or die(...
asked by 08.12.2016 / 15:12
0
answers

Error in Laravel, when running php artisan migrate: install

I have vagrant and virtualbox installed to perform the development environment. and when running vagrant up, it initializes the virtual server correctly, but when I run php artisan migrate: install I get the following error    [PDOException]...
asked by 19.11.2016 / 05:06
1
answer

"desSerialize" data in PHP

I am sending data from a form which has many checkboxes that share the same name, I want to send those values, I do it in the following way: var dataform= ($('input[name="cnSelects"]:checked').serialize()); $.ajax({ data: {"data...
asked by 09.12.2016 / 18:28