Questions tagged as 'mysql'

1
answer

List only data of the same id

Well, guys, after a long time of banging my head with a certain problem I can solve it in a certain way (gambiarra) but now I need to know how to list data from my database that is of the same id, I add several products in a certain sale and I w...
asked by 24.12.2015 / 13:19
1
answer

Problem with Hibernate

I'm trying to learn about hibernate next to a tutorial by making an app for a petshop and I have the following issues: INFO: HHH000228: Running hbm2ddl schema update dez 16, 2015 8:34:52 PM org.hibernate.tool.hbm2ddl.SchemaUpdate execute INFO:...
asked by 17.12.2015 / 00:40
1
answer

Reload Page Case Query Return False

Now, I have this query here, $consultapedidos = mysql_query("SELECT * FROM pedidos WHERE produzido = '0'"); if(mysql_num_rows($consultapedidos)==true){ while($lnped = mysql_fetch_array($consultapedidos)) } When it returns true I want it to...
asked by 04.11.2015 / 20:46
1
answer

JASS implementation in JSF + Tomcat

I want to create authentication for login in my project, but when I try to login, the java.lang.NullPointerException error appears Error Log javax.faces.el.EvaluationException: java.lang.NullPointerException at javax.faces.component.MethodB...
asked by 06.11.2015 / 14:14
1
answer

Can anyone help me with the GET function?

To make a shopping site, hence has the products table and the order table, where after the person buys something writes in the table orders, but wanted to write the product id in the table orders, how to do this by GET, is it already getting the...
asked by 06.11.2015 / 18:15
1
answer

SqlUpdate does not change data in the database [duplicate]

Note: Many people could not solve this question and they marked my question as wrongly duplicated because of an answer in another question similar to this but the answer does not help me at all . > I'm developing software for a MVC (Model-v...
asked by 27.10.2015 / 19:43
4
answers

E-mail falls into spam box PHP using HTML layout [duplicate]

I registered three emails in my database, however when I send the email it falls into the spam box. I do not know what to do to avoid falling as spam. In case the content of the email is an HTML email marketing. (containing photos and co...
asked by 21.05.2015 / 15:48
1
answer

Divide form to insert in different lines of the database (codeigniter)

I have a dynamic form that is filled as there are questions in the database, this form tb writes text boxes, checkboxes, textareas, etc according to the type of question defined in the database, the problem is that when submitting I need that it...
asked by 27.10.2015 / 11:28
1
answer

Read a txt file by php and mysql and viewed by each user - PART 2

It was all going well until I came across a situation I could not resolve so far. I was unable to adjust the total values of the file. The example below shows how the value is. And it should stay that way (R $ 335.43). I've tried to insert so...
asked by 29.10.2015 / 00:18
0
answers

Show calendar generated with JS showing DB information

I'm generating a calendar and inserting the events with handles information into the database. When the select only has one result it is displayed normally, but when there is more than one the calendar is not displayed. Could the error be in the...
asked by 27.10.2015 / 02:25