Questions tagged as 'php'

1
answer

Upload pages without refresh by clicking the menu option

Good evening guys! I'm doing a school system, it will have access levels, menu for each access. I want to do the following, when I click on some option from the side menu, where it is written "BLANK" in the middle part, I want to appear the corr...
asked by 09.10.2017 / 01:19
0
answers

Connection to external database [closed]

I created a database on 000webhost and I created a connection with PDO to access it from my localhost on vertrigo <?php //CONSTANTES define('HOST', 'databases.000webhost.com'); define('USUARIO', 'meuusuario'); define('SENHA', 'minhasenha');...
asked by 09.10.2017 / 05:47
2
answers

Remove an item from an array in Laravel's session

I have an array in a session and need to remove an item only. I put session()->forget('cart') It removes all items. What is the correct way to remove only one? Controller namespace App\Http\Controllers; use Illuminate\Http\Requ...
asked by 31.08.2017 / 16:08
0
answers

SQL Server drives recognition for db connection in PHP [closed]

I am having trouble connecting to the SQL Server database. I can not install the drives to be recognized. On the internet I've tried all sorts of things and nothing worked. I downloaded the drives on the Microsoft website, I put it in the php ex...
asked by 01.09.2017 / 15:24
0
answers

Non-fiscal note issue [closed]

Good afternoon everyone. I am developing a web system for my store and I would like to know how I print those non-tax notes that show the products with their bar codes, prices, quantities ... That note that prints when we buy something. I need t...
asked by 31.08.2017 / 22:25
1
answer

Pass information between two PHP pages

Good afternoon! I'm having the following problem: I have a php page named locality that has the fields "name" and "city". In the name field, I type the name of the locality, such as "Beautiful Corner", and in the city field I retrieve from a t...
asked by 23.10.2017 / 19:12
0
answers

How do I align the database version with the PHP application?

Working in a project, system versions are incremented manually in the semantic model , usually after a sprint a new version is released when a job is merged to the main branch and goes through the CI . And I only have Javascript and PHP progr...
asked by 01.09.2017 / 17:17
0
answers

What's wrong with my code? insert a die and then insert no more! [closed]

html: <!doctype html> <html lang="pt-br"> <head> <meta charset="utf-8"> <title>Untitled Page</title> <meta name="generator" content="WYSIWYG Web Builder 12"> <meta name="viewport" content="width=dev...
asked by 19.10.2017 / 18:16
0
answers

Help setup PHP Debug Visual Studio Code [closed]

I use docker, I would like to debug my PHP code, through the "PHP Debug" plugin of Visual Studio Code, however, I am encountering problems when debugging, with Netbeans working. Here are my settings:    PHP version: 7.0       XDebug versio...
asked by 22.09.2017 / 21:20
0
answers

DB ERROR: SQL syntax; [closed]

I'm trying to create a temporary table with football team data, but I get this error:    DB ERROR: You have an error in your SQL syntax; check the manual that   correspond to your MySQL server version for the right syntax to use   near) and t...
asked by 26.09.2017 / 15:13