no save
Assistance
Achat
News

Forum | webmastering
[php/html] formulaire popup
mich8569, le lun. 16 mai 2005 à 20:18:07
Bonjour a tous,
J'ai fait un petit sondage sous forme de formulaire avec des radios boutons et quand on vote j'affiche un petit graphe pour montrer les résultats
Seulement j'aimerais ouvrir ce graphe dans une popup mais j'y arrive pas.
Voici mon code :
echo "<form action=\"window.open(jpgraph/src/Examples/horizbarex2.php?id_sondage=1)\" method=\"post\">";
while ($ligne=mysql_fetch_array ($res_sel))
{
$champ=$ligne['nom_champ'];
$id=$ligne['id_champ'];
echo "<input name=\"groupe\" type=\"radio\" value=\"$id\">$champ<br>";
}
echo "<center><br><input name=\"btn_valider\" type=\"submit\" value=\"Valider\"></center>";
echo "</form>";

Je fais ca mais ca marche pas du tout...
Y en a qui savent comment on fait ca?
Merci de m'aider ;)


Erdnax
mai 05
Suivant
REPONSES
Erdnax
mai 05
mich8569
mai 05
Phil
mai 05
mich8569
mai 05
Panic
mai 05
Guillaume
juil. 07
Version Web
Réalisé par RedShift
no save