Questions tagged as 'php'

1
answer

PHP unresponsive in fetch command

I'm studying with a book use the head and the following practically copied and pasted the sample code just changing the names of the variables and I'm not having the return with my code, actually what appears in my final result is email Sent to:...
asked by 08.07.2016 / 12:05
0
answers

PHP with PDO returning BLOB records with foreach

Good afternoon guys, I'm new here (first question), but Stack has already helped me in many situations. Here's the problem: I'm developing an application and on a certain page there is a user profile page. On this page, a div that displays...
asked by 05.01.2017 / 20:39
1
answer

call method in laravel query

I have this query here: SELECT p.descr, p.dt_hr, f.id_friend FROM users u JOIN friends f ON u.id = f.id_user JOIN posts p ON p.id_user = f.id_friend WHERE u.id = 1 It returns me this: I'mwantingtospinintheforeachandmountanarraysomething...
asked by 29.12.2016 / 14:34
1
answer

Insert account with fortnightly, monthly, quarterly, semi-annual and annual period

I have a script to do financial control, in it I inform the value and quantity of each plot. I would like an idea of how to define the space of these parcels to determine whether they will be weekly, biweekly, monthly, quarterly, half-yearly or...
asked by 31.05.2016 / 21:50
0
answers

pow () function returns INF [closed]

Galileum is the next to be tried for power followed by modulation ^ - > mod, but the pow () function returns "INF" and the other functions like bcpow and bcpowmod return as non-existent functions within the class. The version of my: PHP7. $...
asked by 30.11.2016 / 03:33
1
answer

how to pass a value of an input with ajax and receive in php with the post method?

I needed to pass a value of a field html to ajax and receive it in a variable in php on another page <script> $(document).ready(function(){ $("#botao").click(function(){ site = $("#codigo").va...
asked by 03.12.2016 / 02:07
0
answers

How to put online site through domain? [closed]

Hello everyone, I'm trying to put a website online through a domain I've already created, it already gave me FTP settings with a folder so I can upload the files I want. The problem is that when I try to access the files in the folder in which I...
asked by 20.04.2016 / 20:55
0
answers

Pagseguro does not redirect with transaction code

I am using the pagseguro API in php so that after payment the client is redirected to a specific page, I already configured it in Application > Redirect page url and the parameter I want to receive via GET. As I'm using the API it seems t...
asked by 28.04.2016 / 16:14
1
answer

SQL in DB MySQL

I have the following situation, a register with 5 fields being them: Type1, Type2, Type3, Type4 and value The 4 type fields are combos fields, where you can select the all option, or any other option. To exemplify: <select class="form...
asked by 27.10.2016 / 03:51
0
answers

Return of the "Save As" window

Good afternoon, I'm using this routine to force a download with php require_once 'PHPWord.php'; require_once 'PHPWord/Template.php'; $PHPWord = new PHPWord(); $section = $PHPWord->createSection(); $document = $PHPWord->loadTemplate('mod...
asked by 28.10.2016 / 16:57