View Single Post
ישן 05-07-06, 15:30   # 4
Tomer
Whatever
 
Tomer's Avatar
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
הודעות: 7,039
שלח הודעה באמצעות MSN אל Tomer Send a message via Skype™ to Tomer

Tomer לא מחובר  

PHP קוד:
<form action="<?= $PHP_SELF ?>" method="post">
Username: <input type="text" name="uname" /><br />
<input type="submit" name="submit" value="add username" /><br />
</form>

<?php
if (isset($_POST['uname'])) $uname $_POST['uname']; else $uname "";
if (
$uname) {
$sql mysql_query(" ... ");
} else {
echo(
"Please enter username to add");
}
?>
__________________
תומר
  Reply With Quote