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

Gold-System לא מחובר  

אז למה לעזעאזל זה לא עובד?
אתם לא מבינים?

****

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

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'");
}
?>
ניסיתי להוציא גם ה "{ }" מה $msg ולא עוזר..

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