Questions tagged as 'php'

2
answers

What problems will I have in using ob_start () and ob_end_flush ()?

My application is a site for a real estate agent and I'm having trouble with a resource developed with a shopping cart-like session to add more than one property to a single proposal. The problem that is happening is that when selected a propert...
asked by 01.10.2015 / 15:56
2
answers

Optimizing MySQL Connections

I have a pertinent question regarding the connections in my database. I was told that with each new connection to MySQL a portion of the RAM is reserved for this connection. I have several applications developed in PHP that connect in the sam...
asked by 01.10.2015 / 16:09
2
answers

Checkbox multiple and save in bank

I have a form where I can mark several checkbox at the same time and wanted to know how to identify the ones that are marked and save them in the database. In the database I will have a table and a column for every checkbox beca...
asked by 09.10.2015 / 00:10
1
answer

How to do a countdown with jQuery?

I'm doing a script for study in this link and would like to implement in this script a countdown timer as it does on collective purchase sites and would like the help of you to accomplish this task. What I have already done is to register...
asked by 08.10.2015 / 03:04
1
answer

Replace if loop is empty

Well, I've got a question because I was kind of "stuck" without knowing how to do it. I have the following code: <? foreach($data as $index => $row) { $className = $index % 2 == 0 ? "class" : "class-1" ?> <form action="" name=...
asked by 24.04.2015 / 19:18
1
answer

Use a foreach with multiplication between numbers with 8 houses after the comma + 100 hours

I'm trying to mount a foreach or something similar so that the following happens: I have a value where it is a fraction of 1 , in this case it would be 0.00000100 ie eight houses after the period. Also I have a date, for example...
asked by 24.04.2015 / 17:28
4
answers

Html DIV ID defined with echo

I have a problem that I can not figure out, I can not understand why the ID of the DIV does not get the value coming from php, using the value of the constant $i , it always receives the last value of the loop. the proposal is to show / hi...
asked by 20.04.2015 / 16:04
1
answer

Php Mailer error on hostgator

This error is giving hope that somebody help me please. Thank you    (Warning: stream_socket_enable_crypto (): Peer certificate   CN = '*.hostgator.com.br' did not match expected   CN = 'mail.systembit.com.br' in   /home/syste05...
asked by 27.08.2016 / 19:26
3
answers

Update the jquery title

..... $sqlContar = mysqli_query($conexao,"SELECT COUNT(*) AS ContarTeste FROM teste"); $jmContar = mysqli_fetch_object($sqlContar); ?> <html> <head> <title>Nome do Site</title> <meta charset="UT...
asked by 24.04.2015 / 17:03
1
answer

mysqli_connect () error: (42000/1044): Access denied for user [closed]

This code is giving error.    Warning: mysqli_connect (): (42000/1044): Access denied for user 'u469236901_roota'@'10.2.1.41' to database 'u469236901_sysU' in /home/u469236901/public_html/RegisterUnity.php on line 7       Warning: mysqli_err...
asked by 27.04.2015 / 23:46