Questions tagged as 'php'

3
answers

How to avoid the Trying to get property of non-object in array?

Previously I asked a question about the same topic, but I still have problems with some views. I have a query or a result that throws an API to me using Guzzlehttp, which throws me the following array when I print with dd ($ user): array:1 [▼...
asked by 08.08.2017 / 17:56
0
answers

I can not download file by php sql

I am trying to download a file (in this case an .xls) by means of php and sqli. The file (hello.xls for giving you an example name) is "downloaded" with its correct name but it weighs 0kbs, so it does not grab the file, it just retrieves the nam...
asked by 03.09.2018 / 15:12
0
answers

Send pdf to a WebService (.Net) from Php

Good morning, I need to send a .pdf file from a web made in php This is the code I use to send from c #: WebClient.UploadDataAsync(new Uri("http://" + Properties.Settings.Default.WebService + "/Service1.svc/UploadFile?FileN...
asked by 03.09.2018 / 16:04
0
answers

View body IMAP PHP mail without attachments

I am reading emails from my Gmail and use to decode the message: $mensaje = imap_qprint(imap_body($mailbox, $uid)); But it shows me attachments codes and generates an incredible length of text as you can see in the following image: link...
asked by 31.08.2018 / 20:59
1
answer

I have a problem with MYSQL and LINUX when altering a value

I have this code to update an item for example if the amount is at 8 and I add 2, when updating the page the change is saved but I do not know why the error is coming out. alert ('Something went wrong, please try again'); before I had the s...
asked by 31.08.2018 / 20:26
0
answers

Print values in an NXN matrix

I have this code that prints a value horizontally and I want it to be printed as a nxn matrix, here my code: <?php include('config.php'); $sq2 = "SELECT * FROM acarga WHERE bl3 = '1' "; $result3 = mysqli_query($conne...
asked by 31.08.2018 / 19:09
1
answer

Load select dependents in Dropdown in update with Codeigniter

Good day, it turns out that I want a page of data update in which I load dependent select with jQuery and Ajax (which I already have it preconfigured in another page where I do it as a new record ~ and the information is load of the db). I sh...
asked by 02.09.2018 / 03:39
2
answers

Keep array of objects in a session

Trying to create a shopping cart I have the following question: I have a detalleticket class and I add to an array each object of the detailTicket class that I then add to a session. It happens that when wanting to show the item says undefine...
asked by 02.09.2018 / 12:11
2
answers

How to hide brb in a textarea

I'm doing a platform of streaming type YouNow , I've already done everything but I have a problem with the chat . I want to make a chat where the text goes up and do not leave that box, my only alternative is a textarea. but now m...
asked by 02.09.2018 / 01:47
0
answers

Help with bootstrap styles

Friends good night, I have the following problem, I have a small application of a medical system with styles in CSS that works well, now I am updating the interface and I am using bootstrap 4.1, the issue is that when I updated the income forms...
asked by 02.09.2018 / 00:03