Questions tagged as 'php'

1
answer

How to call a class inside a function

I have the following folder structure /THEME /vendor autoload.php /composer files of composer /jflight /gacookie /src /tests other files composer.js...
asked by 04.11.2017 / 21:56
0
answers

New WordPress Menu

Good morning. I created a new table in the wordpress database called wp_newsletter, where I saved only the email that the user places when they are browsing the site. I would like to know if you can create a new menu in the admin panel just t...
asked by 11.01.2018 / 11:29
1
answer

Table for Downloads in PHP

I'm creating a system in PHP to download digital products, I'll briefly explain: User enters the site, right on the homepage, will have some products to download. He signs up and buys the product. The product should be listed for it in...
asked by 04.11.2017 / 00:39
1
answer

Why do they say that $ _GET in PHP is insecure against sql injection?

Well, my question is simple. I've been lately hearing many stories saying that $ _GET in PHP is insecure against sql injection. Could you tell me why? Thank you.     
asked by 06.03.2017 / 23:47
0
answers

Calling PHP function in a class

Good afternoon, I'm creating a simple system in PHPOO with MVC and would like to execute a function inside the controller with a jquery call. I do not want to call the controller in html, I want a js to do this work for me. I tried to do this: M...
asked by 24.10.2017 / 19:37
3
answers

Select postgres between two values

I'm developing a system and I need to perform a select to fetch the% rate a customer will have. First, I check the% of this customer's return checks and I look for another pre-set rate that will be entitled to this return rate in another tabl...
asked by 26.10.2017 / 13:06
1
answer

SQL error on fullcalendar connection

My code is returning false, I have debugged but I do not find the error it returns "There was some problem .." <!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="utf-8"> <meta name="description" conten...
asked by 24.10.2017 / 05:24
1
answer

Creating a SELECT based on another SELECT

I'm using a SELECT that refreshes the page automatically after being selected. I have created another SELECT so that it works based on the previous SELECT, however, although the right amount of registration comes, there is nothing written. $ba...
asked by 24.10.2017 / 19:43
1
answer

Graphics with PHP Chart.js

I am implementing graphics in my application made in PHP, using Framework Chart.js, passing the query data via JSON, to mount the chart, but when I render it it presents the following error: Followingcode:$(document).ready(function(){$.ajax(...
asked by 26.10.2017 / 14:49
0
answers

Organization of tables in css

* I have a problem in my code that I am trying to solve for hours now, I'll leave an image to explain better, I want to leave it aligned along with the other bars. <!--*****ContactAreaEnd*****--><sectionclass="contact_us_area section_p...
asked by 28.05.2018 / 17:06