Questions tagged as 'php'

0
answers

Block registrations beyond the value stipulated in PHP form

I have a course management system where the teacher registers a class and the student accesses a page with a table with all the classes and subscribes to the one that he thinks best. The problem is that many students are enrolling in a class...
asked by 22.01.2018 / 17:32
2
answers

Get PHP Array Value

Array ( [0] => [1] => Array ( [0] => #EXTM3U ) [2] => Array ( [0] => #EXTINF:-1 tvg-id="" tvg-name="BBB 18 -Aquecimento" tvg-logo"https://s9.postimg.org/4c14egx5b/big_wel...
asked by 15.01.2018 / 15:14
0
answers

Embed pdf document and activate scroll to submit

Good morning, I would like to embed a pdf document on my site for a PHP registration form, where after pulling the scroll to the end of the pdf, the submit button is activated. Here's the code, I'm using jquery to fetch the scrool state, but I c...
asked by 22.01.2018 / 12:43
0
answers

How to use two arrays to make an appointment in the bank?

I'm using the Google API, Cloud Vision , to parse an image and return through the Labels, which make / model a car, for example. Using the image below, I have the following return: [ car, land vehicle, vehicle, motor vehicle, bmw, persona...
asked by 16.01.2018 / 13:53
0
answers

How to feed highcharts with myqsl data?

I'm trying to create a graph using Mysql and Highcharts, but I'm having trouble, I need to replace morris with highcharts, the bar graph, follow php code; function fazerScriptChartArea($dataIni, $dataFim) { global $conn2; require_once...
asked by 06.05.2018 / 23:34
1
answer

problem with listing payment orders pagseguro recurring subscription

I'm having a problem fetching the received data from the pagseguro payment order. I am doing the query he is bringing me the results but I can not get what he has inside paymentOrders for the simple fact that he brings me a code wi...
asked by 03.05.2018 / 19:31
1
answer

Insert data if another INSERT is executed successfully

I want you to insert the data into the table. If the first entry, in table.1, is executed successfully. all_processo.php <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Cadastro de Proc...
asked by 07.05.2018 / 16:16
0
answers

Autoloading in PHP Classes

What would be the Autoloading of Classes in PHP? I see people using __autoload and spl_autoload_register is there a difference? What association exists between autoloader of composer and conventional autoloading ? Are...
asked by 07.05.2018 / 13:18
1
answer

Custom String Sorting

Hello, I have a problem, I need to sort a set of letters in alphabetical order, but the word order is customized from an order of specific letters. <?php // Pega o conteudo do arquivo texto. $arquivo = file_get_contents("texto.txt"...
asked by 16.12.2017 / 05:36
1
answer

Read a file in php

My screen, can list the files as a link and even displays on another tab with the target, I just can not get the file clicked to display the content. I'm using fopen to open and fread to read ... Here's how the code works:...
asked by 17.12.2017 / 14:05