שלום לכולם,
אני נתקל בבעיה דיי מציקה ,
קוד:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in
למרות שכול הפקודה נכונה, זה פשוט עושה לי את זה "פעם ב" ,
נניח שאני יצא ויכנס עוד הפעם לאותו עמוד, פתאום זה עובד.
PHP קוד:
$getusers = mysql_query("select * from users WHERE id=$id");
while($rr=mysql_fetch_array($getusers)){
extract($rr);
PHP קוד:
$getuser = mysql_query("select * from users ORDER BY id DESC");
while($r=mysql_fetch_array($getuser)){
extract($r);
תודה לעוזרים.