اذهب إلى المحتوى

كمال صالح2

الأعضاء
  • المساهمات

    109
  • تاريخ الانضمام

  • تاريخ آخر زيارة

2 متابعين

آخر الزوار

948 زيارة للملف الشخصي

إنجازات كمال صالح2

عضو نشيط

عضو نشيط (3/3)

66

السمعة بالموقع

  1. اطلب كود العملية الحسابية في الاسكيوال سيرفر
  2. اطلب كود ربط قاعدة البيانات من نوع ماي اسكيوال في الاستضافة ؟
  3. اطلب رقم لكي افعل واتساب من اي دوله غير الدوله الذي انا مقيم فيها حاليآ
  4. شكرآ استاذي العزيز لقد اشتغل الكود استاذي يوجد مشكلة في العمود المسماء :المشكلة وهي:Warning: Undefined array key "المشكلة" in C:\xampp\htdocs\home.php on line 57 خلاص شكرآ استاذي لقد تم اصلاح الخطاء
  5. لقد ارفقت لك اسم السيرفار واسم قاعدة البيانات واسم الجدول واسم الحقول ارجاء تطبيق الكود ليتم الاتصال بقاعدة البيانات
  6. تم ضهور خطاء وهوا: Fatal error: Uncaught TypeError: mysqli_fetch_assoc(): Argument #1 ($result) must be of type mysqli_result, PDOStatement given in C:\xampp\htdocs\home.php:54 Stack trace: #0 C:\xampp\htdocs\home.php(54): mysqli_fetch_assoc(Object(PDOStatement)) #1 {main} thrown in C:\xampp\htdocs\home.php on line 54
  7. المشكلة هي : Fatal error: Uncaught Error: Call to undefined function mysql_fetch_assoc() in C:\xampp\htdocs\home.php:54 Stack trace: #0 {main} thrown in C:\xampp\htdocs\home.php on line 54 كود الملف كامل : <!DOCTYPE html> <html lang="ar"> <head> <link rel="icon" href="https://c0.klipartz.com/pngpicture/573/614/gratis-png-ng%C5%A9-hanh-s%C6%A1n-distrito-casa-apartamento-inmobiliaria-volta-redonda-venta-de-logotipos-de-bienes-raices.png" /> <title>موقع العقارات</title> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Tajawal:wght@300&display=swap" rel="stylesheet"> <meta charset="utf-8" /> <link rel="stylesheet" type="text/css" media="screen" href="home.css"> </head> <body> <header> <div> <img src="a.png" alt="نظام العقارات من كمال تجريبي"> </div> <center> <div> <button>نقاط البيع&#127979;</button> <button>أدارة المخزون</button> <button>الإراضي&#128176;</button> <button>&#9917;الشيكات</button> <button>الأستاذ العام&#926;</button> <button>إدارة النظام</button> </div> </center> </header> <?php $server = 'DESKTOP-PJDLJNR'; $database = 'Legacy'; $username = ''; $password = ''; $connection = new PDO("sqlsrv:Server=$server;Database=$database", $username, $password); if (!$connection) { die(print_r(sqlsrv_errors(), true)); } $sql_query = 'select * from Problemss;'; $result = $connection->query($sql_query); ?> <table border="1" width="100%"> <tr> <th>&#127979;تم</th> <th>الحلول</th> <th>المشكلة</th> <th>م</th> <th>الرقم</th> </tr> <?php while ($row = mysql_fetch_assoc($result)) { ?> <tr> <td><?php echo $row['تم']?></td> <td><?php echo $row['الحلول']?></td> <td><?php echo $row['المشكلة']?></td> <td><?php echo $row['م']?></td> <td><?php echo $row['الرقم']?></td> </tr> <?php } $connection = null; // close the connection ?> </table> </body> </html>
×
×
  • أضف...