Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Rather Newish to OOP, Controller question
Post: RE: Rather Newish to OOP, Controller question

Thank you very much to everyone who has responded. It has helped clear things up greatly.
14,839 Views
9 Replies
05-20-2016, 02:39 PM
BamaStangGuy
    Thread: Rather Newish to OOP, Controller question
Post: RE: Rather Newish to OOP, Controller question

Ok, I tried that (I thought I had tried that before.. and I had). When I submit the form now I get a 404 not found and the url shows p in the address bar as trying to call the enter method that needs ...
14,839 Views
9 Replies
05-20-2016, 03:07 AM
BamaStangGuy
    Thread: Rather Newish to OOP, Controller question
Post: RE: Rather Newish to OOP, Controller question

InsiteFX Wrote: (05-20-2016, 02:45 AM) -- To stop the meyhod from running in the URL start the method with an underscroe _method -- Ok so make it a private function? Would private function enter($p...
14,839 Views
9 Replies
05-20-2016, 02:59 AM
BamaStangGuy
    Thread: Rather Newish to OOP, Controller question
Post: RE: Rather Newish to OOP, Controller question

Let me try again at explaining what I am trying to do here: Controller Project -> Class Project -> Method Join($project_id) -> View join with the above code. Once that page is loaded the visitor is a...
14,839 Views
9 Replies
05-20-2016, 12:26 AM
BamaStangGuy
    Thread: query->num_rows versus query->num_rows()
Post: RE: query->num_rows versus query->num_rows()

skunkbad Wrote: (05-19-2016, 08:25 PM) -- BamaStangGuy Wrote: (05-19-2016, 06:51 PM) -- Thanks for sharing. Big fan of your Auth add-on :) -- That's good to know. Sometimes I wonder if people are ...
5,831 Views
3 Replies
05-19-2016, 11:41 PM
BamaStangGuy
    Thread: Rather Newish to OOP, Controller question
Post: RE: Rather Newish to OOP, Controller question

Hi Wouter60, Here is join method which loads the Join view. Join view submits to the enter method and enter method reloads the join view. PHP Code: --    public function join($project_id) {      ...
14,839 Views
9 Replies
05-19-2016, 11:37 PM
BamaStangGuy
    Thread: Rather Newish to OOP, Controller question
Post: Rather Newish to OOP, Controller question

So I have something working how I wish it to but I am not sure it is the best way to do it. Essentially, I have a controller called PROJECT.php and two methods inside that controller, JOIN($project_id...
14,839 Views
9 Replies
05-19-2016, 07:08 PM
BamaStangGuy
    Thread: query->num_rows versus query->num_rows()
Post: RE: query->num_rows versus query->num_rows()

Thanks for sharing. Big fan of your Auth add-on :)
5,831 Views
3 Replies
05-19-2016, 06:51 PM
BamaStangGuy
    Thread: Sub Queries or better way to do this?
Post: Sub Queries or better way to do this?

I need to take this query: PHP Code: --     public function get_active_pools() {         $this->db->where('active', '1');         $query = $this->db->get('pools');         return $query->resu...
2,680 Views
1 Replies
05-18-2016, 04:21 AM
BamaStangGuy
    Thread: Registration Form Issues With Community Auth
Post: RE: Registration Form Issues With Community Auth

I narrowed it down to poor error checking on my part. The forum was not validating and had no idea what to do if it did not validate. Long night...
4,493 Views
2 Replies
04-16-2016, 08:45 AM
BamaStangGuy
    Thread: Registration Form Issues With Community Auth
Post: Registration Form Issues With Community Auth

Hello, I am relatively new to Community Auth but have a bit of experience working around Code Igniter. I am having issues getting a basic registration page working on my site.  Here is my User c...
4,493 Views
2 Replies
04-16-2016, 12:38 AM
BamaStangGuy

Theme © iAndrew 2016 - Forum software by © MyBB