Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: best way to create nested arrays from mySQL
Post: RE: best way to create nested arrays from mySQL

mwhitney Wrote: (03-05-2015, 08:29 AM) -- Ultimately, the idea of storing JSON in the database for completed orders is not a bad one, either, as long as the table of JSON data is used as a performanc...
8,768 Views
0 Replies
03-05-2015, 12:50 PM
obiron
    Thread: Trying to create a cron job to run if a condition is true
Post: RE: Trying to create a cron job to run if a condit...

alexandervj Wrote: (03-05-2015, 06:56 AM) -- I figured it out, I had the greater than less than signs backwards haha thanks for your help! -- Those are always the best! I once had an application w...
19,358 Views
0 Replies
03-05-2015, 12:46 PM
obiron
    Thread: How does it know which page to load?
Post: RE: How does it know which page to load?

lexxtoronto Wrote: (03-05-2015, 12:17 PM) -- Ok, still reading the tutorial and trying to understand how the framework works Code: -- public function view($page = 'home') { ... } -- So whe...
9,053 Views
0 Replies
03-05-2015, 12:37 PM
obiron
  Smile Thread: best way to create nested arrays from mySQL
Post: RE: best way to create nested arrays from mySQL

Thanks mwhitney! Basically take each case on its merits and don't be tempted by premature optimisation :dodgy: The factors I guess will be whether we are returning a small part of a large data...
8,768 Views
0 Replies
03-05-2015, 12:29 PM
obiron
    Thread: Looking developer for A2Billing
Post: RE: Looking developer for A2Billing

Get on to freelancer and look fo PHPSoldier, he did some great work for me in CI 2.2 building out a load of functionality for metro-ui bootstrap; I am sure he would be able to help you.
2,902 Views
0 Replies
03-03-2015, 05:59 AM
obiron
    Thread: Editing unique data post input.
Post: RE: Editing unique data post input.

Validating that data has not changed is always an issue with RESTless applications like the ones you get in a web browser. One solution is to create and store a hash value of the values you want to v...
5,087 Views
0 Replies
03-03-2015, 01:24 AM
obiron
    Thread: best way to create nested arrays from mySQL
Post: best way to create nested arrays from mySQL

Hey guys,  I am writing a new application using AngularJS on the front end, with CI providing both the MVC for the single page apps and the AJAX responses for the angular.service calls.  The backend d...
8,768 Views
0 Replies
03-02-2015, 02:59 PM
obiron
    Thread: Mysql get values from table with join (or and) ?
Post: RE: Mysql get values from table with join (or and)...

Marcel Wrote: (02-26-2015, 01:41 AM) -- Hi i have the following tables table buddies |id|b1|b2|status| (note status = 0/1/2 pending/accepted/blocked) also b1 always is the userid sending the re...
5,627 Views
0 Replies
02-27-2015, 03:22 PM
obiron
    Thread: Database transaction error handling
Post: RE: Database transaction error handling

you could write your own library/helper for $res that takes the $db and $sql as arguments and returns either the results set if successful or the error number and message if not. you would then c...
14,808 Views
3 Replies
02-24-2015, 08:06 AM
obiron
    Thread: How to change the Controller+Action if certain criteria met
Post: RE: How to change the Controller+Action if certain...

tom365 Wrote: (02-20-2015, 04:00 PM) -- I have a base controller, and in it I am loading the user model. If the model has some certain flags active, I want to change the action. e.g. User is visiti...
3,776 Views
0 Replies
02-24-2015, 06:03 AM
obiron
    Thread: Joined Min/Max and 'Having'
Post: RE: Joined Min/Max and 'Having'

ridley1012 Wrote: (02-24-2015, 01:39 AM) -- More a programming issue rather than a codeigniter issue. Got a bit of an issue with using 'Having' and joined tables. It works but its horrendously slow, ...
3,412 Views
0 Replies
02-24-2015, 05:46 AM
obiron
    Thread: single transaction across a number of functions/stored procedures
Post: single transaction across a number of functions/st...

Guys,  I am about to embark on a new application using AngularJS, CodeIgniter 3.x and MySQL (InnoDB) using the  PDO extensions. The design protocol I am going for is that user validation will be do...
2,115 Views
0 Replies
02-24-2015, 02:24 AM
obiron

Theme © iAndrew 2016 - Forum software by © MyBB