قمت ببرمجة صفحة للتعديل و الحذف على المقالات "show the articles.php".ولكن كل مرة اريد ان اعدل او احذف مقال ، اذهب الى "edit.php" و "delete.php" واقوم بالتعديل على ال"id". show the articles.php 1){ $pagination.=""; if($page > 1) $pagination.=" previous "; else $pagination.= "previous "; //pages if ($lastpage < 7 + ($adjacents * 2)) //not enough pages to bother breaking it up { for ($counter = 1; $counter <= $lastpage; $counter++) { if ($counter == $page) $pagination.= "$counter "; else $pagination.=
مشكلة في كود البايثون! من فضلك انا بحاجة الى مساعدة
‘zip’ is not recognized as an internal or external command, operable program or batch file. backup failed n.py: `import os import time source=[r’C:\Users\AiMeN\Desktop\a’] where=’/This PC/Documents’ ntarget=where + time.strftime(’%Y%m%d%H%M%S’) + ‘.zip’ zip_command=“zip -qr’%s’%s”%(ntarget,’’.join(source)) if os.system(zip_command) == 0: print(“success backupto”,ntarget) else : print(“backup failed”) `
احتاج مساعدة !! عندما اضغط على رقم الصفحات .تبقى نفس الصفحة لا تتغير.
1) { $pagination .= ""; //previous button if ($page > 1) $pagination.= " previous "; else $pagination.= " previous "; //pages if ($lastpage < 7 + ($adjacents * 2)) //not enough pages to bother breaking it up { for ($counter = 1; $counter <= $lastpage; $counter++) { if ($counter == $page) $pagination.= "$counter "; else $pagination.= "$counter "; } } elseif($lastpage > 5 + ($adjacents * 2)) //enough pages to hide some { //close to beginning; only hide later pages