How to recieve a parameter sent using "FORM" get

Author Message

John Mina

Tuesday 25 May 2004 11:28:03 am

HI all
i would like to send a paramete between tow template pages. Iwill use a linke and concatinate "?part=2" to the url. this part had been doen correctly and when i go to the destination page trying to retrieve the valuye or the parameter send "part" which value = "2" i fail as i don't knwo how to do it
I tried the PHP way to retrieve it <?php echo $_Post["part"]?> this also dind't work

Can any one please help me ?

your help is highly appricaited, i am trying to use this to break the article into 2 parts
Sincerely
John Mina

Roman Mudrack

Wednesday 02 June 2004 12:35:34 am

Hi,

try this :
{let part=ezhttp('part',get)}. Should work :)

John Mina

Wednesday 02 June 2004 11:58:34 pm

Hi Thanks,
I solved it in another way , i used the offset parameter , and the same way it recieves the offset i recieve it :)
but i will try your advice it is fine

Thanks
-----after while----- i added the next part------
It worked in a good easy way
thanks

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 31 2025 04:29:25
Script start
Timing: Jan 31 2025 04:29:25
Module start 'layout'
Timing: Jan 31 2025 04:29:25
Module start 'content'
Timing: Jan 31 2025 04:29:25
Module end 'content'
Timing: Jan 31 2025 04:29:25
Script end

Main resources:

Total runtime0.0178 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 588.2656151.2266
Module start 'layout' 0.00460.0022 739.492236.6797
Module start 'content' 0.00680.0095 776.171990.0781
Module end 'content' 0.01630.0015 866.250029.9922
Script end 0.0178  896.2422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002111.6511140.0001
Check MTime0.00105.6200140.0001
Mysql Total
Database connection0.00063.452610.0006
Mysqli_queries0.002513.890830.0008
Looping result0.00000.056210.0000
Template Total0.00115.910.0011
Template load0.00094.885110.0009
Template processing0.00021.005410.0002
Override
Cache load0.00063.403110.0006
General
dbfile0.00021.364280.0000
String conversion0.00000.038840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs