Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Search Criteria Ignored, Only Redirects to Else Statement
Post: RE: Search Criteria Ignored, Only Redirects to Els...

I would appreciate any further feedback on this issue for anyone who understands MATCH so I can get this search feature back up and running again. Thank you all again for all your help and suggestions...
14,221 Views
17 Replies
06-15-2019, 08:16 AM
Josh1985
    Thread: Search Criteria Ignored, Only Redirects to Else Statement
Post: RE: Search Criteria Ignored, Only Redirects to Els...

salain Wrote: (06-13-2019, 11:15 PM) -- Hi, It looks like the code in controller recipe.php is missing the opening curly brace for the if statement. -- Thank you for catching that! It now loads ...
14,221 Views
17 Replies
06-13-2019, 11:46 PM
Josh1985
    Thread: Search Criteria Ignored, Only Redirects to Else Statement
Post: RE: Search Criteria Ignored, Only Redirects to Els...

jreklund Wrote: (06-13-2019, 02:16 PM) -- We needed to see what you got into your controller, to see where the problem where in the first place. As you didn't get any information from it, we can fix ...
14,221 Views
17 Replies
06-13-2019, 05:21 PM
Josh1985
    Thread: Search Criteria Ignored, Only Redirects to Else Statement
Post: RE: Search Criteria Ignored, Only Redirects to Els...

jreklund Wrote: (06-13-2019, 01:17 PM) -- You haven't provided us with any code for your view (where the search submit button are), so I can't tell you why it ain't working. If you would be so kind t...
14,221 Views
17 Replies
06-13-2019, 01:53 PM
Josh1985
    Thread: Search Criteria Ignored, Only Redirects to Else Statement
Post: RE: Search Criteria Ignored, Only Redirects to Els...

jreklund Wrote: (06-13-2019, 09:56 AM) -- In that case change ALL your $this->input->post('submit') into $this->input->method() === 'post' instead. You aren't sending any data inside your submit but...
14,221 Views
17 Replies
06-13-2019, 11:35 AM
Josh1985
    Thread: Search Criteria Ignored, Only Redirects to Else Statement
Post: RE: Search Criteria Ignored, Only Redirects to Els...

hc-innov Wrote: (06-13-2019, 08:01 AM) -- oops (forgotten parenthesis) better: PHP Code: -- if ($this->input->post('submit')){ .... } else { .... } -- -- Resulted Output Code: -- arr...
14,221 Views
17 Replies
06-13-2019, 09:35 AM
Josh1985
    Thread: Search Criteria Ignored, Only Redirects to Else Statement
Post: RE: Search Criteria Ignored, Only Redirects to Els...

hc-innov Wrote: (06-13-2019, 01:35 AM) -- syntax error! PHP Code: -- function search(){ var_dump($this->input->post()); exit; if ($this->input->post('submit'){  die('Hello'); .... } else {...
14,221 Views
17 Replies
06-13-2019, 06:52 AM
Josh1985
    Thread: Search Criteria Ignored, Only Redirects to Else Statement
Post: RE: Search Criteria Ignored, Only Redirects to Els...

jreklund Wrote: (06-12-2019, 01:28 PM) -- If that's the case your problem are here "$this->input->post('submit')", that it gets validated as false. Just do a double check and add die('Hello'); the f...
14,221 Views
17 Replies
06-12-2019, 02:02 PM
Josh1985
    Thread: Search Criteria Ignored, Only Redirects to Else Statement
Post: Search Criteria Ignored, Only Redirects to Else St...

Hello all! I am experiencing a weird issue with a site now. Up until my web host updated PHP to 7.3.6, I had no issues with my search feature. I have read through the changelogs on php.net all with...
14,221 Views
17 Replies
06-12-2019, 12:27 PM
Josh1985
    Thread: Confusing PHP Arithmetic Formula
Post: RE: Confusing PHP Arithmetic Formula

Wouter60 Wrote: (12-31-2018, 03:06 PM) -- PHP Code: -- -- 94 pages - 1 = 93 divided by 100 = .93 add 1 = 1.93 multiply by bindingcost = 1.93 * 2.79 = 5.3847 convert the result to an integer: ...
4,705 Views
5 Replies
12-31-2018, 09:38 PM
Josh1985
    Thread: Confusing PHP Arithmetic Formula
Post: RE: Confusing PHP Arithmetic Formula

InsiteFX Wrote: (12-31-2018, 09:24 AM) -- The values are read from the database table fields numSinglePages and bindingCost He is taking the numSinglePages subtracting 1 from it then dividing it by ...
4,705 Views
5 Replies
12-31-2018, 12:02 PM
Josh1985
    Thread: Confusing PHP Arithmetic Formula
Post: Confusing PHP Arithmetic Formula

Hey guys, I am writing today for some help is deciphering some PHP calculations that were done in Codeigniter. First of all, I should preface this by saying, I did not write most of this code origin...
4,705 Views
5 Replies
12-31-2018, 08:01 AM
Josh1985
    Thread: Updating CodeIgniter 1.7.3 to CodeIgniter 3.1.7
Post: RE: Updating CodeIgniter 1.7.3 to CodeIgniter 3.1....

I am not resentful. I am ending any further comments after this. You are the one being resentful and abrasive. I came here looking for help and instead you chose to make this out to be a personal atta...
18,932 Views
12 Replies
01-29-2018, 02:12 PM
Josh1985
    Thread: Updating CodeIgniter 1.7.3 to CodeIgniter 3.1.7
Post: RE: Updating CodeIgniter 1.7.3 to CodeIgniter 3.1....

Mods please close my thread. This is no longer helpful
18,932 Views
12 Replies
01-29-2018, 08:48 AM
Josh1985
    Thread: Updating CodeIgniter 1.7.3 to CodeIgniter 3.1.7
Post: RE: Updating CodeIgniter 1.7.3 to CodeIgniter 3.1....

While I respect your opinion, You are WAY OFF on a few things and clearly misinterpreted and/or misread what I was asking. First, I don't know how this became me blaming anyone, PERIOD. That was not ...
18,932 Views
12 Replies
01-29-2018, 05:10 AM
Josh1985
    Thread: Updating CodeIgniter 1.7.3 to CodeIgniter 3.1.7
Post: RE: Updating CodeIgniter 1.7.3 to CodeIgniter 3.1....

Thank you for your post. I am a little confused about something though. If I am to follow the upgrading guide how does one get a copy of the previous "system" folders for the earlier versions of CI as...
18,932 Views
12 Replies
01-29-2018, 01:36 AM
Josh1985
    Thread: Updating CodeIgniter 1.7.3 to CodeIgniter 3.1.7
Post: RE: Updating CodeIgniter 1.7.3 to CodeIgniter 3.1....

Thank you for your response, Oh no! That would be a absolute NIGHTMARE! Is a rewrite really the best option? As it sits right now, I would need to rewrite/reconfigure around some 45 files to do a "cl...
18,932 Views
12 Replies
01-22-2018, 08:21 PM
Josh1985
    Thread: Updating CodeIgniter 1.7.3 to CodeIgniter 3.1.7
Post: Updating CodeIgniter 1.7.3 to CodeIgniter 3.1.7

I am trying to upgrade from CI version 1.7.3 to CI Version 3.1.7. The problem I have is for some unknown reason the User Guide for 3.1.7 DOES NOT even mention upgrading from version 1.7.3 to version 2...
18,932 Views
12 Replies
01-22-2018, 07:41 PM
Josh1985
    Thread: Detailed Explanation of a Controller & Model?
Post: RE: Detailed Explanation of a Controller & Model?

Thank you for your help so far, could you please paste the code blocks for the index page to study off of in their entirety for the controller and the views cause i tried your suggestions and i keep g...
15,013 Views
9 Replies
09-12-2015, 02:09 AM
Josh1985
    Thread: Detailed Explanation of a Controller & Model?
Post: RE: Detailed Explanation of a Controller & Model?

mwhitney Wrote: (09-08-2015, 06:37 AM) -- The easiest way to setup a single-page template and load a view into that template is to echo a variable in the template and set that variable to the result ...
15,013 Views
9 Replies
09-09-2015, 10:59 AM
Josh1985

Theme © iAndrew 2016 - Forum software by © MyBB