Click here to Skip to main content
15,867,771 members

Comments by George Jonsson (Top 200 by date)

George Jonsson 25-Nov-17 11:20am View    
I think the OP meant
6x - (y^2 - 1)/y
Pesky parenthesis and minus signs.

Still don't know what he wants to do, though. Parse the expression and simplify or what.
George Jonsson 25-Nov-17 11:14am View    
Do you open the connection once in the beginning of the code and then keep sending requests without closing the connection?
Databases usually have a timeout that will prevent a connection to be kept open for too long.
A better approach is to
1. Connect
2. Get data
3. Close
4. Repeat
George Jonsson 25-Nov-17 10:54am View    
Can you elaborate a little bit more about the problem you are trying to solve, as it is not crystal clear.
Shouldn't it be "3+7+6+9=25", if you want the highest score in each row?
George Jonsson 7-Aug-16 23:59pm View    
Thanks a million. The change has to be made in hpptd.conf or .htaccess, but otherwise you were spot on.
I had to add the following lines inside the block <ifmodule mime_module="">
AddType application/x-httpd-php .html
AddType application/x-httpd-php .htm
Then it worked like a charm.

You should submit this as an answer, so other people can benefit from it.
George Jonsson 6-Aug-16 20:39pm View    
See my updated answer.