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.

fehlermeldung in php

Empfohlene Antworten

also ich weiß nicht wo das problem liegt, dass ist eine kleine abfrage, die keine probleme bereiten sollte (eigentlich)!

also hier der quelltext:

$db = mysql_connect();

mysql_select_db("database");

$sqlab = "select id from field where spalte1 = '$variable' AND spalte2 = 1";

$result = mysql_query($sqlab);

$num_new_data = mysql_num_rows($result);

mysql_close($db);

WO IST DER FEHLER?????

:confused: :confused: :confused:

Es kommt die Fehlermeldung:

Warning: Supplied Argument is not a valid MySQL-Result resource in Dateiname line so und so...

gruss

da_ill

$result = mysql_query($sqlab);

Nach der Spalte setz mal folgendes rein:

echo mysql_error();

Das sollte Dir weitere Informationen liefern.

Originally posted by Da_Ill

$db = mysql_connect();

Hast du schonmal versucht der Funktion einen Datenbankhost, -user und -passwort mitzugeben, so a là

$link = mysql_connect("Datenbankhost", "Datenbankuser", "Datenbankpasswort")

?

mfg __

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

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.