FrançaisEnglishEspañol
PC SOFTForums homeLast messagesOnline repository
PC SOFT
Find...
Perform the searchSearch in...
Newsgroup dedicated to WEBDEV (current version), in English
Index on Php Looper
Aug., 27th 2009 at 11:18 AM
Sandro Abramo
<s....mo@gmail.com>

Message 1/2
Index on Php Looper

Hello,
I have tried to use a looper in PHP. It works but when I try to retrieve the link selected by user in the looper I have all the ATT_* attribute empty. I have already tried to use the PAGE_Looper.wwh (transformed in PHP page) but it is the same. Clicking on the link, I got blank info.
The question is.. how can I identify the image clicked by user if the image is in the looper ? all the site is in php.

thank you in advance
Sandro


Aug., 28th 2009 at 08:03 PM
Hilario PEREZ CORONA
<hp...na@gmail.com>

Message 2/2
Re: Index on Php Looper

What i use to do is save the Index of the looper in a hidden EDT, and executing a hidden Button...

In the Click event of the Browser code of the Image:

// Assign the Current Looper Index
EDT_LooperIndex = LOOP_Looper

// Execute the Button
ExecuteProcess(BTN_ImageClick, trtClick)




Now, on the Server code of the BTN_ImageClick (the button is Hidden):


// Here i can get the Attributes....
Trace(ATT_Attribute1[EDT_LooperIndex])


It's a little "cheat", but it works for me.