khany

Merseyside, United Kingdom

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

Aug
7
comment access google ga var in dynamically loaded script
thanks. I just cut and paste it from a website without checking
Aug
7
accepted access google ga var in dynamically loaded script
Aug
7
asked access google ga var in dynamically loaded script
Jul
11
comment Where can I find documentation on formatting a date in JavaScript
The problem with datepicker (which I am currently using) is I want the input box to show dd-mm-yyyy but the value passed in the form to be yyyy-mm-dd. Don't think it can be done without manipulation.
Jul
11
comment Template engine for CakePHP 2.3
There is something about how the source code looks: eg. its more like {Foo.field} vs <?php echo $foo['field']; ?>
Jul
2
awarded Curious
Jul
2
comment Trigger click jquery not working
Trigger after Listener. Trigger AFTER listener. Hours wasted until I found this out. +1 @PeteHerbertPenito
Jun
26
comment how to create array of a week days name in php
I think we can infer that he wants an array starting sunday of the current week.
Jun
20
comment Using Resources to store data in json file in Angular
Did you mean save a file locally, as in, forcing a text file download through the browser? because that would help me out with something.
May
31
comment Getting the name of a child class in the parent class (static context)
+1 as it works in my Cake app. Awesome.
May
30
comment Automate database table creation from within CakePHP framework
@Magsol exactly how did you implement this? I'm curious.
May
28
comment Is there any JavaScript framework supporting IndexDB?
@Raynos can you please explain why this is 'ridiculous'?
May
26
comment cakephp find all condition AND OR
+1 for realising and stating that AND is implied.
May
21
comment CakePHP Database connection "Mysql" is missing, or could not be created
FYI this worked on my XAMPP installation too except I had to put /Applications/XAMPP/xamppfiles/var/mysql/mysql.sock
May
20
comment How to dynamically populate options on dropdown lists based on selection in another dropdown?
should that first $.ajax be there?
May
17
comment Object reference not set to an instance of an object Caused by DBNull.Value
Nope. SELECT @@IDENTITY didn't work but SELECT SuInvoiceID FROM SupplierInvoice WHERE SuInvoiceID = @@IDENTITY did.
May
17
comment How to get last inserted id?
Hmm. When I tried this I got an error: "Object reference not set to an instance of an object." even though it is run immediately after the Execute.
May
17
comment getting the primary key from a bindingsource save in c sharp
Done 2)! Actually just 2 lines. DataRow dr = (bsS24s.Current as DataRowView).Row; then get dr["id"]
May
16
revised getting the primary key from a bindingsource save in c sharp
Typo
May
16
comment getting the primary key from a bindingsource save in c sharp
Ah yes, tamS24s is a table adapter manager. Also I meant source_id is a field in the datatable. I just had a field on the form to try and bind it but I couldn't. If I can pass the value of "1" directly to it before it saves that would be cool.
1 2 3 4 5