khany

Merseyside, United Kingdom

Experienced PHP developer looking to create high-end applications to order.

Dec
7
answered Negative DateInterval
Dec
5
comment How to write an inline IF statement in JavaScript?
@WillKlein you say all parens are optional yet when I do this as ()?: instead of (()?:) I get different results. I only know this because I tried it like it is in PHP.
Nov
27
answered Php Lock files when writte
Nov
27
comment Php Lock files when writte
@Francisco what is the content of test.db?
Nov
27
comment Php Lock files when writte
doesn't fputs require 2 arguments?
Nov
26
comment MySQL: Select Random Entry, but Weight Towards Certain Entries
Brilliant! I modified this to weight towards an aggregate value from a related table. SELECT l.name, COUNT(l.id) FROM consignments c INNER JOIN locations l ON c.current_location_id = l.id GROUP BY l.id ORDER BY -LOG(RAND()) / COUNT(l.id) DESC
Nov
10
accepted dart double type doesn't allow fixed format
Nov
10
accepted data- attribute in dart dynamic elements
Nov
10
asked created field in cakephp join table
Nov
5
comment retrieve multiple stores in dart
lol. SO is like a dad who tells his child to cut himself first before he shows him how to handle a knife.
Nov
5
comment retrieve multiple stores in dart
Perfect! I was sweating over this for hours.
Nov
5
accepted retrieve multiple stores in dart
Nov
5
revised retrieve multiple stores in dart
typo in Future months-to-maths
Nov
5
asked retrieve multiple stores in dart
Oct
9
asked data- attribute in dart dynamic elements
Oct
9
comment dart double type doesn't allow fixed format
yeah my bad. I went away, came back, reloaded the script and it worked fine. School boy error! Thanks for looking into this though.
Oct
8
comment dart double type doesn't allow fixed format
@GünterZöchbauer either a null or a double. class Month {double bankClosingBalance; /* ... */ }
Oct
8
asked dart double type doesn't allow fixed format
Sep
24
awarded Autobiographer
Sep
22
accepted cakephp use a calculated field in mysql field list
1 2 3 4 5