Page 1 sur 1

il n y a pas d'affichage en php pkoi ?

Posté : 05 févr. 2010, 16:12
par websalah
voila j'ai un problem dans l'affichage lorsque je clic sur le bouton submit pkoi ?
voila step1.html

<html>
<head>
<title>Contact us</title>
</head>
<body>
<form action="step2.php" method="post">
Name :<br/><input type="text" name="username" /><br/>
Email :<br/><input type="text" name="email" /><br/>
quiry<br/><textarea row="7" cols="70" name="quiry"></textarea><br/>
<input type="submit" value="Send your quiry" />

</form>
</body>
</html>

voila le step2.php

<?php
$name = $_POST['username'];
$email = $_POST['email'];
$text = $_POST['quiry'];

echo $name . '<br>' . $email;

?>


aidez moi je comprends pas pkoi ça marche plus merci

Re: il n y a pas d'affichage en php pkoi ?

Posté : 05 févr. 2010, 16:17
par stealth35
voila j'ai un problem dans l'affichage
oui mais quel probleme, ta rien qui s'affiche ? ca te fait des trucs bizarr ?

Re: il n y a pas d'affichage en php pkoi ?

Posté : 05 févr. 2010, 16:46
par niuxe
voila j'ai un problem dans l'affichage
oui mais quel probleme, ta rien qui s'affiche ? ca te fait des trucs bizarr ?
+1

Que fait ?
print_r($_POST);