Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > de.comp.lang.php > #4287

Re: prüfen ob eine Funktion etwas ausgibt / - Inhalt hat

Path csiph.com!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From "Christoph M. Becker" <cmbecker69@arcor.de>
Newsgroups de.comp.lang.php
Subject Re: prüfen ob eine Funktion etwas ausgibt / - Inhalt hat
Date Sat, 7 Oct 2017 19:49:39 +0200
Organization solani.org
Lines 16
Message-ID <orb43g$akm$1@solani.org> (permalink)
References <oranpq$1fq$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace solani.org 1507398576 10902 eJwFwQkBwDAIA0BNTUkocsbnX8LueHVUbqKMyz0tvezQ9aJhFni2N3LagYn8EOhaa1cV8QMZoxFF (7 Oct 2017 17:49:36 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Sat, 7 Oct 2017 17:49:36 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
Cancel-Lock sha1:pkkUTVv8lSnmS+jdetG6rvxP6xs=
X-NNTP-Posting-Host eJwFwYEBADAEA7CX2Ep5B/P/CUvsunoTbg5bW4rEHDeZEPTD3c5XSMvsQKHJnT1U4gW1Pg3/EL0=
In-Reply-To <oranpq$1fq$1@dont-email.me>
Content-Language de-DE
X-User-ID eJwNwocRwDAIBLCVMOUx42DK/iMkJ5ngoFxhUFvbDVqW65SX0pDT8uOjnDPj1Q8hUdvDKfTyAyOTEeQ=
Xref csiph.com de.comp.lang.php:4287

Show key headers only | View raw


Am 07.10.2017 um 16:19 schrieb Josh Mehrtens:

> es geht um eine Funktion in einem CMS, die keywords ausgibt.
> 
> if (function_exists('get_keywords')) { echo "tags: "; get_keywords();
> 
> ist ja TRUE, auch wenn keine keywords eingegeben sind.

Meinst du etwas in der folgenden Art?

  if (function_exists('get_keywords') && $keywords = get_keywords()) {
      echo "tags: $keywords";
  }

-- 
Christoph M. Becker

Back to de.comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

prüfen ob eine Funktion etwas ausgibt / - Inhalt hat Josh Mehrtens <jom@mail.invalid> - 2017-10-07 16:19 +0200
  Re: prüfen ob eine Funktion etwas ausgibt / - Inhalt hat "Christoph M. Becker" <cmbecker69@arcor.de> - 2017-10-07 19:49 +0200
    Re: prüfen ob eine Funktion etwas ausgibt / - Inhalt hat Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-10-08 03:19 +0200
      Re: prüfen ob eine Funktion etwas ausgibt / - Inhalt hat Josh Mehrtens <jom@mail.invalid> - 2017-10-10 13:37 +0200
      Re: prüfen ob eine Funktion etwas ausgibt / - Inhalt hat "Christoph M. Becker" <cmbecker69@arcor.de> - 2017-10-10 14:28 +0200
        Re: prüfen ob eine Funktion etwas ausgibt / - Inhalt hat Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-10-10 15:31 +0200
          Re: prüfen ob eine Funktion etwas ausgibt / - Inhalt hat Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2017-10-10 13:58 +0000
            Re: prüfen ob eine Funktion etwas ausgibt / - Inhalt hat Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-10-10 16:07 +0200
          Re: prüfen ob eine Funktion etwas ausgibt / - Inhalt hat "Christoph M. Becker" <cmbecker69@arcor.de> - 2017-10-10 18:58 +0200
            Re: prüfen ob eine Funktion etwas ausgibt / - Inhalt hat Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-10-10 20:24 +0200
              Re: prüfen ob eine Funktion etwas ausgibt / - Inhalt hat "Christoph M. Becker" <cmbecker69@arcor.de> - 2017-10-11 01:02 +0200
                Re: prüfen ob eine Funktion etwas ausgibt / - Inhalt hat k@rl.pflaesterer.de (Karl Pflästerer) - 2017-10-11 16:38 +0200
                Re: prüfen ob eine Funktion etwas ausgibt / - Inhalt hat "Christoph M. Becker" <cmbecker69@arcor.de> - 2017-10-12 00:45 +0200
  Re: prüfen ob eine Funktion etwas ausgibt / - Inhalt hat "Christoph M. Becker" <cmbecker69@arcor.de> - 2017-10-07 19:49 +0200
    Re: prüfen ob eine Funktion etwas ausgibt / - Inhalt hat Josh Mehrtens <jom@mail.invalid> - 2017-10-07 23:40 +0200
      Re: prüfen ob eine Funktion etwas ausgibt / - Inhalt hat "Christoph M. Becker" <cmbecker69@arcor.de> - 2017-10-08 01:13 +0200
        Re: prüfen ob eine Funktion etwas ausgibt / - Inhalt hat Josh Mehrtens <jom@mail.invalid> - 2017-10-10 13:34 +0200

csiph-web