PHP code insert
PHP code insert
Ho can I insert PHP code to article?
-
- Posts: 22
- Joined: Wed 13. Apr 2005, 10:39
hello
or with the rep tags for PHP
or
http://www.phpwcms-docu.de/index.php?system_tags
or with the rep tags for PHP
Code: Select all
[PHP] PHP_code [/PHP]
Code: Select all
{PHP:my_external_PHP_script.php}
Use: This tag supp
Habe auch das Problem mit dem einbinden von PHP-Code.
Ich hab folgendes versucht
Inhaltsart = Einfacher Text und darin dann
Der eingesetzte php-Code stammt aus meinem script, welches bereits auf der alten Seite einwandfrei funktioniert.
Sorry das ich auf Deutsch frage kann aber nicht genug (bessser gesagt kein) Englisch.
Ich hab folgendes versucht
Inhaltsart = Einfacher Text und darin dann
Ergebniss folgende Fehlermeldung[PHP]<?php
session_start();
// die Variablen...... [/PHP]
die ich nicht verstehe.Parse error: parse error, unexpected '<' in /home/WWW/angehoerige/phpwcms/include/inc_front/front.func.inc.php(2307) : eval()'d code on line 1
Der eingesetzte php-Code stammt aus meinem script, welches bereits auf der alten Seite einwandfrei funktioniert.
Sorry das ich auf Deutsch frage kann aber nicht genug (bessser gesagt kein) Englisch.
Hi jsb,
try
that means without <?php and ?>.
******************************************************
Hi jsb,
versuch es mal mit
d.h. ohne <?php und ?>.
Joachim
try
Code: Select all
[PHP]session_start();
// die Variablen...... [/PHP]
******************************************************
Hi jsb,
versuch es mal mit
Code: Select all
[PHP]session_start();
// die Variablen...... [/PHP]
Joachim
Take a look at this RT: {WAK_SNIPPET}
Verstehe ich nicht.kubens wrote:Take a look at this RT: {WAK_SNIPPET}
@jscholtysik
habe das jetzt so geändert leider ist das Ergebnis
woran kann das jetzt liegen?
Unter http://angehoerige.aidshilfe.de/ kannst du die alte Version sehen. Unter Adressen, Treffen und Link sind jeweils PHP-Seiten die auf die MySql DB zugreifen. Diese sollen auch in der neuen Version mit phpwcms so funktionieren.
Ich hoffe hier Hilfe zu finden.