khany

Merseyside, United Kingdom

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

1d
answered Php Lock files when writte
1d
comment Php Lock files when writte
@Francisco what is the content of test.db?
1d
comment Php Lock files when writte
doesn't fputs require 2 arguments?
2d
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
Sep
22
comment cakephp use a calculated field in mysql field list
Sorted. Basically what you said but without the CASE ELSE (just the REPLACE) and setting a default in the model (not a formula).
Sep
22
comment cakephp use a calculated field in mysql field list
yes but only just
1 2 3 4 5