Questions tagged as 'php'

2
answers

PHP - Javascript

I'm new to the web programming area and I'm developing a website in php, the php itself until I understand how it works but as for javascript I'm not sure about when to use it. For example, and a site screen there is a table with approximatel...
asked by 29.03.2018 / 22:49
0
answers

Help with creating ABC curve in Mysql

I mounted a select to know how many products sold in a given period and the sales value of these products. I need to mount an ABC curve with the result of this select. Someone could help me please. My select looks like this: SELECT DI...
asked by 01.04.2018 / 23:50
2
answers

How to use copy ()?

I'm creating a project to import files, but I need the file name to use " LOCAL DATA INFILE" , before I was looking for a way to read the temporary file automatically, until I I saw this form of copy . I want to copy it into the project (tmp...
asked by 17.08.2018 / 16:28
0
answers

Add multiple products to the shopping cart

I'm trying to create a simple shopping cart (at the beginning), where I have some fixed products in the database and I'm obviously calling them through FetchAll (); Okay, I did a $ _SESSION and as far as I can see, this is ok, but my problem...
asked by 23.06.2018 / 22:16
0
answers

PHP does not save message in XML

I want to set up a comment system, at the time of opening xml php can, but at the time of saving a new message does not, besides not being able to save it also does not error. (Note: it is a bit urgent for CBT). Codes: Open profile_php.php :...
asked by 23.06.2018 / 23:36
0
answers

Error Array to string conversion in

I'm having a problem that I'm not sure how to resolve I've tried in several ways using implode , list and foreach using extract ... I am a beginner in the language, I programmed it about 2 months ago and this is the...
asked by 09.03.2018 / 14:40
0
answers

Is it correct to mix PHP code with HTML? [duplicate]

I'm restarting my studies in IT and I have this doubt. In the course I'm doing the examples show the php code mixed and inserted into the html code. Is this really what works in practice? I have a flea behind my ear telling me this is not good...
asked by 28.02.2018 / 19:04
0
answers

PHP Methods static [duplicate]

PHP allows me to have static methods. The advantage is that you have them accessible without having to instantiate the class Documentation . However, when it comes to static methods, I can use them both ways WITHIN YOUR CLAS...
asked by 16.04.2018 / 20:06
1
answer

animation on the main page

It includes a start animation of my project (example "welcome") and then go to the main home, but in case it gets 2 together ... Is it possible?     
asked by 10.04.2018 / 04:28
1
answer

Keep the form open when sending data to the table

I have this code with several forms within the same page: test1 page: <select id="mudar_produto"> <option value="#produto_1">Novo Produto Higiene</option> <option value="#produto_2">Entrada de Prod...
asked by 22.05.2018 / 10:15