"fetch" function ordered by ID

Author Message

Roberta Gatti

Monday 15 March 2004 7:46:40 am

hi,

I have a problem using "fetch" function. I axtract data from database orderd by ID but the sistem put id 100 before id 99 so the result is:

100
101
102
103
99

instead of

99
100
101
....

This is an error but I don't know how resolve it

TIA
R.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 01:03:44
Script start
Timing: Jan 19 2025 01:03:44
Module start 'layout'
Timing: Jan 19 2025 01:03:44
Module start 'content'
Timing: Jan 19 2025 01:03:45
Module end 'content'
Timing: Jan 19 2025 01:03:45
Script end

Main resources:

Total runtime1.3373 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 590.4297152.6250
Module start 'layout' 0.00650.0041 743.054739.4453
Module start 'content' 0.01061.3249 782.5000402.2031
Module end 'content' 1.33550.0018 1,184.70318.1641
Script end 1.3373  1,192.8672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.2744160.0002
Check MTime0.00140.1040160.0001
Mysql Total
Database connection0.00110.085010.0011
Mysqli_queries1.296996.9770460.0282
Looping result0.00040.0336440.0000
Template Total1.305497.620.6527
Template load0.00210.159120.0011
Template processing1.303397.452520.6516
Template load and register function0.00020.015710.0002
states
state_id_array0.00140.104810.0014
state_identifier_array0.00100.075420.0005
Override
Cache load0.00170.1292180.0001
Sytem overhead
Fetch class attribute can translate value0.00080.059710.0008
Fetch class attribute name0.00060.047310.0006
XML
Image XML parsing0.00010.008710.0001
class_abstraction
Instantiating content class attribute0.00000.000210.0000
General
dbfile0.00060.0422100.0001
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs