FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WEBDEV 2024
→
Index on Php Looper
Index on Php Looper
Débuté par Sandro Abramo, 27 aoû. 2009 13:18 - 1 réponse
Connectez-vous…
Sandro Abramo
#1
Posté le 27 août 2009 - 13:18
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
Signaler
0
0
Hilario PEREZ CORONA
#2
Posté le 28 août 2009 - 22:03
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):
[code]
// Here i can get the Attributes....
Trace(ATT_Attribute1[EDT_LooperIndex])
[code]
It's a little "cheat", but it works for me.
Signaler
0
0
→ Revenir à WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte