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.

php4 mit MS SQL Datenbank

Empfohlene Antworten

Hallo an alle php Profis!

Ich hab ein Problem mit einer Datenbankabfrage:

Ich habe eine News-Section für unser Intranetgeschrieben, die auf einer MS SQL 7.0 Server Datenbank basiert. Wenn ich nun eine News poste, wird mein kompletter Beitrag in die Datenbank (Feld varchar(5000)) geschrieben. Wenn ich aber wieder aus der Datenbank auselese, bekomme ich immer nur einen String mit den ersten 255 Zeichen zurück.

Wenn ihr mir helfen könnt, meldet euch bitte

:confused: Roundhead :confused:

Hi,

das liegt an dem reichlich kranken Interface zwischen MS-SQL (7) und PHP4.

Abhilfe: Definiere die Felder als TEXT.

Hope it helps,

Daniel

gracias, amigo ... hat super geklappt. Problem gelöst, Welt wieder in Ordnung

:) Roundhead

[ 26. April 2001: Beitrag editiert von: Roundhead ]

Hi,

bin gerade auf noch ne andere (elegentere, aber ungetestete) Lösung gestoßen.

Folgend ein Zitat aus der Bug-Datenbank.

Daniel

--

2000-08-23 19:46:10] shazlista@usa.net

try to fetch a field of the type (text/ntext), you only get max of 4096 chars.

please help!

[2000-08-31 11:05:45] fmk@php.net

Please add

mssql.textsize = 8192

mssql.textlimit = 8192

to your php.ini file. This will set the max size fetched from a text column.

This will work with php3 and php4 versions of the module !

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

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.