Questions tagged as 'php'

2
answers

Modal form, javascript, ajax and php

There are three steps I'm doing: HTML > JavaScript > PHP. In one of them I'm wrong and I suspect it's in the JavaScript. My HTML: Class Modal. Apparently it works: <!-- Modal para solicitar evaluación de caso --> <div clas...
asked by 02.06.2016 / 22:31
1
answer

Send a message with Swiftmailer from a symfony command

My problem is that I'm trying to send a message from a command in Symfony 2 but it's all errors, this is my code: $message = $this->mailer ->setFrom('[email protected]') ->setTo('[email protected]') ->setSubject...
asked by 22.03.2016 / 08:41
1
answer

Class 'evseevnn \ Cassandra \ Database' not found

I'm trying to call the class 'evseevnn \ Cassandra \ Database' for that namespace without success. For this I rely on a similar case with the same architecture where I do. The architecture is as follows, myproject\ | application\...
asked by 27.03.2016 / 09:55
1
answer

Inventory with Variable Price Products

I have created a php / mysql system for dispatch with product inventory and the problem I have is that I do not know how to calculate the cost of the dispatch when I have income from the same product with different prices. My database is co...
asked by 22.03.2016 / 21:19
1
answer

Error: Using $ this when not in object context

I am using PHP, and JavaScript along with the highcharts library to generate a bar graph, but I get the following error:    Fatal error: Using $ this when not in object context in   C: \ xampp \ htdocs \ graphics \ index.php on line 55 W...
asked by 11.11.2016 / 04:21
1
answer

modal bootstrap dialog with data from a php query

I would like to use the pop-up windows or bootstrap modal-dialog to show an image because I find them very simple. The idea is to have a series of images that I print on the screen that are in a database and when I click on any of them I can...
asked by 05.04.2016 / 15:11
2
answers

Read table .dbf from PHP

I have several days struggling with this, I need to migrate a table of .dbf to MySQL for which I try to open it with the next one caught and then go through it but it throws me an error, $db = dbase_open("INARTICULOS.DBF", 0); if($db){...
asked by 05.04.2016 / 15:11
2
answers

defines / constants in a bundle

What would be the best place within a bundle to put defines, constants, variables that affect the operation of a bundle. For example, if a functionality of a bundle saves the images in / data / news / imgs / I want to have a route configured...
asked by 10.11.2016 / 17:54
2
answers

change browser response when sending mail via php

at the time of pressing send in the form of my page redirect me to contact_me.php as I can make it on the same page index.html form: <form name= "sentMessage" " method="post" action="contact_me.php"> <div class="row"> <div...
asked by 12.11.2016 / 03:34
2
answers

Connection error php and dbisam

My problem is the following I am trying to connect to a dbisam database via php but I have not been able to make a query and download the ODBC driver for dbisam, these are the errors that they give me:    Warning: odbc_connect (): in C: \ xam...
asked by 31.03.2016 / 13:23