05-07-06, 19:10
|
# 5
|
קידום ושיווק אתרים תודה על תרומתך איש! (:
|
ציטוט:
נכתב במקור על ידי Atom-Bomb
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"); } ?>
|
תודה, עבד לי מצוין!
|
|
|