Page 377 of 211,270, showing 20 records out of 4,225,382 total, starting on record 7,521, ending on 7,540
# | Username | Text | |
---|---|---|---|
# | Aug 9th 2008, 16:05 | cpierce | is there a way to get the last id out of a table with cake |
# | Aug 9th 2008, 16:05 | cpierce | like if i have id autoincrement and i want the highest value set? |
# | Aug 9th 2008, 16:06 | ADmad | TonkaTruck: yes.. the router already sets all params there so there's so there's no need to explicity call router functions |
# | Aug 9th 2008, 16:06 | ADmad | cpierce: after a save $this->Model->id will contain the new id |
# | Aug 9th 2008, 16:06 | cpierce | i don't want to save i just wanna get the highest one |
# | Aug 9th 2008, 16:07 | wojt | hi |
# | Aug 9th 2008, 16:07 | wojt | is it possible to run cakephp on freebsd server?? |
# | Aug 9th 2008, 16:07 | cpierce | ADmad: in other words it won't be during a save |
# | Aug 9th 2008, 16:07 | cpierce | wojt: yes if you can get php running |
# | Aug 9th 2008, 16:07 | ADmad | cpierce: then use find with field like "MAX(id) as max_id" |
# | Aug 9th 2008, 16:08 | cpierce | ADmad: thanx |
# | Aug 9th 2008, 16:08 | ADmad | wojt: cakephp is a php framework.. so it will run fine on anything that can run php scripts |
# | Aug 9th 2008, 16:08 | wojt | cpierce: yes, I have php installed but I'm facing serious problems with paths |
# | Aug 9th 2008, 16:09 | linked_ | night guys |
# | Aug 9th 2008, 16:09 | wojt | a friend of mine suggested to check directory separators but he was actually guessing |
# | Aug 9th 2008, 16:12 | wojt | I've spent a couple of hours trying to configure webroot/index.php and I couldn't fix that |
# | Aug 9th 2008, 16:12 | wojt | at least I know it is possible to run it on freebsd |
# | Aug 9th 2008, 16:14 | acidicbase | what is cakephp doing on your server |
# | Aug 9th 2008, 16:15 | acidicbase | does throw errors or what? |
# | Aug 9th 2008, 16:15 | wojt | do you know what could be causing that error? http://thecolumbiahotel.co.uk/ |