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

كمال صالح2

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

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

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

كل منشورات العضو كمال صالح2

  1. Fatal error: Uncaught PDOException: SQLSTATE[IMSSP]: This extension requires the Microsoft ODBC Driver for SQL Server to communicate with SQL Server. Access the following URL to download the ODBC Driver for SQL Server for x64: https://go.microsoft.com/fwlink/?LinkId=163712 in C:\xampp\htdocs\home.php:35 Stack trace: #0 C:\xampp\htdocs\home.php(35): PDO->__construct('sqlsrv:Server=D...', '', Object(SensitiveParameterValue)) #1 {main} thrown in C:\xampp\htdocs\home.php on line 35
  2. كيف اعمل لوحة جانبية في الصفحه HTML CSS ؟ مثال الصورة التالية:
  3. كيف اختار الإيقونة المناسبة في الـــــ HTML كما هو في الصورة التالية؟
  4. ممكن استاذ محاذاة النص الى الجهه اليمين بدون ضل
  5. يتم اضافة داخل الاطار : (button) مع ايقونة نص نص مثال الصورة الموضحة اسفل:
  6. انا لم افهم ايش تقصد بالضبط استاذي العزيز اليك اسم قاعدة البيانات وما يلي:
  7. ممكن التعديل على الكود التالي: <?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>تم</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>
  8. المشكلة استاذ عدنان هي في الكود :$result = $connection->query($sql_query); فماهو الحل من فضلك وهاذا توضيح الكود الكامل التالي : <!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>نقاط البيع</button> <button>أدارة المخزون</button> <button>الإراضي</button> <button>الشيكات</button> <button>الأستاذ العام</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>تم</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>
×
×
  • أضف...