Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

kimmi

User
  • Registriert

  • Letzter Besuch

  1. Halo, ich versuche mich grad mit PHP und MS SQL auseinander zu setzten. Installiert habe ich das XAMP-Paket. Die Verbindung zur DB funktioniert soweit. Aufgabe ist folgende: es müssen alle Daten aus der Tabelle extrahiert werden und auf der Seite dargestellt werden, dabei soll gespeicherte Procedere verwendet werden. gespeicherte Procedere sp_RetrieveDept set ANSI_NULLS ON set QUOTED_IDENTIFIER ON GO ALTER PROCEDURE [dbo].[sp_RetrieveDept] @idDepartment int AS select * from department where idDepartment = @idDepartment Tabelle „Department“ beinhaltet folgende Attribute: idDepartment, chrDeptName, chrDeptImage <?php $conn = mssql_connect($host = '',$username = '',$password = ''); $stmt=mssql_init("sp_RetrieveDept", $conn); mssql_bind($stmt, "@idDepartment", $idDepartment, SQLINT4, FALSE); $result = mssql_execute($stmt); $row = mssql_fetch_assoc($result); $idDepartment = $row['idDepartment']; ?> <table border=0><tr> <td> <dd><a href='products.php?idDept=<?php print $idDepartment; ?>' title=Weiter> <img src="images/<%=chrDeptImage%>" align="middle" border=0 alt=Auswaehlen width=70 height=60> <?php print $chrDeptName; ?></a></td></tr> <tr><td height=10> </td></tr> </table> Nun bin ich total durcheinander gekommen, die MS SQL-Funktionen habe ich mir angeschaut: PHP: Mssql-Funktionen - Manual kann aber nicht so weit kommen Danke für die Hilfe :hells:

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.