Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Help understanding routes
Post: RE: Help understanding routes

Thank you for that. I was too focused on the routing that I didn't look at the whole code.
1,681 Views
2 Replies
02-21-2020, 09:50 AM
doomie22
    Thread: Help understanding routes
Post: Help understanding routes

Hi, I am currently messing round with CI4 and I am having issue with understanding the routing. I have a controller that I just randomly made: PHP Code: --
1,681 Views
2 Replies
02-21-2020, 04:10 AM
doomie22
    Thread: Rolling updates out automatically?
Post: Rolling updates out automatically?

Hi all, I have not started my project yet using CI3 but I am coming up with a plan for it and I am wondering if its possible to get the project to look at a file location and if the files have been...
2,414 Views
2 Replies
05-17-2018, 07:18 AM
doomie22
    Thread: doing if statement around the first part of array
Post: doing if statement around the first part of array

Hi,  I am trying to figure out how to do an if statement that the first one in the array has a different layout that the rest. Here is my example: Code: --         ...     ...
2,965 Views
2 Replies
03-27-2018, 07:04 AM
doomie22
    Thread: Idea on how to do a front end booking system
Post: Idea on how to do a front end booking system

Hi all, I am working heavily on a booking system and i am trying to figure out one thing. I want the system to go through each day going forward and find out by going through the database if the...
2,248 Views
1 Replies
02-10-2018, 02:53 AM
doomie22
    Thread: Trying to make a url generator from a title
Post: Trying to make a url generator from a title

Hi there, I have been trying to make a generator that will take a title and strip out all the special characters like !"£$ etc... I have used strtolower and str_replace in a chain with each char...
4,151 Views
3 Replies
12-21-2017, 03:53 PM
doomie22
    Thread: Trying to count all records from database
Post: RE: Trying to count all records from database

I think I am almost there with this. I currently have the following in the database: page_hits  |  date            |    pageid 5                |  2017-09-14   |  testing 5                |  2...
5,962 Views
6 Replies
09-14-2017, 03:29 AM
doomie22
    Thread: Trying to count all records from database
Post: RE: Trying to count all records from database

Sorry that is not quite what I want. What I am trying to do is to group together all the last 30 days with the same pageid and then with each of the groups add just them together. What you have gi...
5,962 Views
6 Replies
09-13-2017, 01:46 PM
doomie22
    Thread: Trying to count all records from database
Post: Trying to count all records from database

Hi, I am trying to grab the last 30 days of a table and using the pageid group them together but also add the groups together.  I have the following which does group them, but doesn't add them toge...
5,962 Views
6 Replies
09-13-2017, 01:27 PM
doomie22
    Thread: Small issue with form_hidden
Post: Small issue with form_hidden

Hi, I am having a small issue with form_hidden.  If I have the following: PHP Code: -- -- When the following is processed it works. PHP Code: -- public function process(){        $da...
6,957 Views
3 Replies
06-22-2017, 05:10 PM
doomie22
    Thread: Adding things to config.php
Post: Adding things to config.php

Hi all, I am wondering if its safe/best practice to add global variables to the config.php file.  Reason for this is what I am making is for multiple sites and I just want to be able to quickly cha...
4,402 Views
2 Replies
06-21-2017, 02:28 PM
doomie22
    Thread: Dates showing up wrong on 31st of the month.
Post: RE: Dates showing up wrong on 31st of the month.

I have been playing around with the following just in a php section on a page. PHP Code: -- $date = new DateTime('FIRST DAY OF -2 MONTH'); echo $date->format('m'); -- and this seems to be worki...
5,301 Views
4 Replies
06-01-2017, 01:08 PM
doomie22
    Thread: Dates showing up wrong on 31st of the month.
Post: Dates showing up wrong on 31st of the month.

Hi all, This section has been working fine for a while but I have looked at it today on my test server and I noticed that it is broken and I have no idea why. Here is my function: PHP Code: ...
5,301 Views
4 Replies
05-31-2017, 03:51 AM
doomie22
    Thread: In aggregated without GROUP BY error
Post: RE: In aggregated without GROUP BY error

I have been looking at this post but I just cannot understand what it really means and how I can fix it :(
13,255 Views
2 Replies
03-02-2017, 11:05 AM
doomie22
    Thread: In aggregated without GROUP BY error
Post: In aggregated without GROUP BY error

Hi all, I have recently updated my local WAMP testing platform to version 3 (I know, bad mistake).  Something that was previously working fine is now coming up with this big error and I really don'...
13,255 Views
2 Replies
03-01-2017, 10:53 AM
doomie22
    Thread: Trying to get rid of index.php from address on my ubuntu system
Post: RE: Trying to get rid of index.php from address on...

Tried all that but it wasn't what the issue is (I have found the issue).  So this is here if anyone else has the issue. What I found out is for some reason the .htaccess file wasn't showing as a .h...
13,060 Views
8 Replies
03-01-2017, 04:08 AM
doomie22
    Thread: Trying to get rid of index.php from address on my ubuntu system
Post: RE: Trying to get rid of index.php from address on...

Thank you for your replies, but at this moment nothing seems to get rid of it.  I have tried the following: I have change this in /etc/apache2/apache2.conf Code: -- Options Indexes FollowSym...
13,060 Views
8 Replies
02-28-2017, 06:01 PM
doomie22
    Thread: Trying to get rid of index.php from address on my ubuntu system
Post: Trying to get rid of index.php from address on my ...

Hi all, I have setup a laptop with ubuntu on it and I have setup LAMP and everything is working (connects to database and site show up) I have installed Webmin too so I can access things.  I now ha...
13,060 Views
8 Replies
02-28-2017, 07:37 AM
doomie22
    Thread: Help with collating database information
Post: Help with collating database information

Hi, I am at a stage where i have a load of information in a database that i want to put into a webpage for people to see.  For example i have a table that has page names that people have visited...
6,281 Views
5 Replies
01-14-2017, 12:24 PM
doomie22
    Thread: Trying to put info from files into database
Post: RE: Trying to put info from files into database

I am seeing the files in the array but for some reason I am just getting null from this. PHP Code: -- $get_info = get_file_info($file); --
6,378 Views
6 Replies
09-29-2016, 05:06 AM
doomie22

Theme © iAndrew 2016 - Forum software by © MyBB