How to implement a parameterized search ?

Author Message

Lazaro Ferreira

Wednesday 29 September 2004 4:12:55 am

Hi,

We need to implement a parameterized search, this is the user case :

1) First user is presented with a form which fields are selection list ( HTML input type=select )

2)After selecting the data, the form data is submit it to an URL that should present the user a listing with results, results will be the output of a fetch function call with every parameter previously entered in step 1)

We would like to hear from you how to do it ?

Thanks
Lazaro

Lazaro
http://www.mzbusiness.com

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:14:26
Script start
Timing: Jan 19 2025 01:14:26
Module start 'layout'
Timing: Jan 19 2025 01:14:26
Module start 'content'
Timing: Jan 19 2025 01:14:27
Module end 'content'
Timing: Jan 19 2025 01:14:27
Script end

Main resources:

Total runtime0.7968 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.0062 590.7031152.6406
Module start 'layout' 0.00620.0041 743.343839.4766
Module start 'content' 0.01030.7853 782.8203428.0859
Module end 'content' 0.79550.0012 1,210.90638.1250
Script end 0.7968  1,219.0313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4019160.0002
Check MTime0.00130.1632160.0001
Mysql Total
Database connection0.00110.142310.0011
Mysqli_queries0.759695.3328460.0165
Looping result0.00050.0618440.0000
Template Total0.756294.920.3781
Template load0.00230.282620.0011
Template processing0.754094.624620.3770
Template load and register function0.00050.057110.0005
states
state_id_array0.00100.129310.0010
state_identifier_array0.00100.123220.0005
Override
Cache load0.00180.2304100.0002
Sytem overhead
Fetch class attribute can translate value0.00050.056510.0005
Fetch class attribute name0.00090.118010.0009
XML
Image XML parsing0.00010.015710.0001
class_abstraction
Instantiating content class attribute0.00000.000610.0000
General
dbfile0.00050.0648100.0001
String conversion0.00000.001140.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
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/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: 6
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs