View Single Post
ישן 29-12-06, 21:33   # 3
scarface
חבר פורום
 
מיני פרופיל
תאריך הצטרפות: Dec 2006
הודעות: 61

scarface לא מחובר  

אני ממש לא מבין אני חייב את העזרה שלכם תקנו את הטעויות...
הקובץ הראשון index.html אני לחא מאמין שיש טעויות
HTML קוד:
<html>
<title>נסיון</title>
<form method="post" action="b.php">
<input type="text" name="test">
<input type="submit">
</form>
</html>
הקובץ של ההזנה כאן נראה לי יש איזו בעיה b.php
PHP קוד:
<?php
mysql_connect
('localhost','totnam_111','147147') or die("ERROR: ".mysql_error());
mysql_select_db('totnam_111') or die("ERROR: ".mysql_error());
mysql_query("INSERT INTO `reg` (test) VALUES ('$test')") or die("ERROR: ".mysql_error());
echo(
"הצלחה");
?>
והאחרון כאן אני בטוח שיש בעיה ללא שום ספק o.php
PHP קוד:
<?php
mysql_connect
('localhost','totnam_111','147147') or die("ERROR: ".mysql_error());
mysql_select_db('totnam_111') or die("ERROR: ".mysql_error());
$reggmysql_query("SELECT * FROM `test` LIMIT 1");
echo 
$regg;
?>
בבקשה תעזרו לי תודה רבה לעוזרים