View Single Post
ישן 26-04-07, 21:06   # 10
Gold-System
Permanently Banned
 
מיני פרופיל
תאריך הצטרפות: Mar 2007
הודעות: 401

Gold-System לא מחובר  

אז לשנות את האפדייט לשם אחר לשדה ב PhpMyAdmin?
*****

שיניתי את השם ל Updote ולא עובד..
הנה הקוד -
PHP קוד:
<?
include "config.php"
if ( 
$_POST["xds"] != "1" ) {
$query mysql_query("SELECT * FROM `msg`"); 
$con mysql_fetch_array($query);
$msg $con['Update'];

echo <<<EOF
<html> 
<head>
<form action="messege.php" method="POST"> 
<div align="center"> 
<textarea name="messege">$msg</textarea> 
<input type="hidden" value="1" name="xds" />
<input type="submit" value="עדכן תיבה">
</form> 
</html>
EOF;
}

else {
$update $_POST['messege'];
mysql_query("UPDATE `msg` SET Updote = '{$update}'");
}
?>

Last edited by Gold-System; 26-04-07 at 21:08..