שיניתי את זה אבל יש בעיה.
PHP קוד:
<?php
mysql_connect("000", "000", "000");
mysql_select_db("000");
$result = mysql_query("SELECT username FROM test WHERE id={$_GET['id']}");
while($row=mysql_fetch_array($result))
{
echo "<div style='width:400px; height:100px; border-width: 2px; border-style: solid; border-color: #dcdcdc; background-color:#f5f5f5; font-family:Arial; color:#000100; padding-right: 8px; padding-top: 2px; font-size: 14px; font-weight: bold; text-align:right;'>".$row['username']."</div><br>";
}
?>
הוא נותן לי שגיאה עם result.
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/www/fixst.awardspace.co.uk/show.php on line 7
אתמול אכן הייתה בעיה, המשתנה למעלה לא היה מתאים ל result אבל עכשיו אני משתגע.
מה גם, אני מנסה לשים את הקוד שנתתי לכם אתמול, עם הבעיה של id, זה גם לא פועל.
בקיצור משהו פה דפוק חחח אולי אני ?
