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.

href auf '.$row['fname'].' '.$row['lname'].' funzt nicht !

Empfohlene Antworten

Hallo,

ich versuche ein link auf '.$row['fname'].' '.$row['lname'].' zu setzen damit ich auf detail.php dem entsprechend eine detailierte Ausgabe machen kann aber irgendwie läuft überhapt nicht . Es gibt eine mysql_num_rows() error der keine gültigen parameter erkennt. Ich weisst nich ob das überhaupt mit der switch Abfrage was zu tun hat. Ich brauche dringend hilfe !!!

$selected=$_POST["company"];

switch ($selected)

{

case $_POST["company"]:

$sql = "select customers.ID, customers.fname, customers.lname,

from customers,

company where customers.companyID=company.ID

AND company.name= $selected ;";

$result = mysql_query($sql);

break;

case $_POST["fname"]:

$sql = "select ID, fname, lname,

from customers

where fname= $selected ;";

$result = mysql_query($sql);

break;

case $_POST["lname"]:

$sql = "select ID, fname, lname,

from customers

where lname= $selected ;";

$result = mysql_query($sql);

break;

}

if (mysql_num_rows($result) > 0)

{

echo '<p align="center">';

echo 'Select a customer:<br/>';

while ($row =mysql_fetch_assoc($result)):

echo '<a href="detail.php?ID='.$row['ID'].'">'.$row['fname'].' '.$row['lname'].'</a>';

endwhile;

}

href auf '.$row['fname'].' '.$row['lname'].' funzt nicht !

Versuch es mal mit:

href auf '.$row['fname'].$row['lname'].'

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.