i have posted this question some days ago, but maybe i did not explain the problem exactly enough ...
As the result of a database query, i have two strings - the first one contains normal text (like 'Hello, World') and the second one contains PHP code which should execute a second query over another database table. The result of the second query should be inserted in the 'Hello, World' text string of the first one.
So how can i execute the PHP code (result of the first query) and insert the result in the text string and echo it afterwards?
I tried to work around with eval(), but the result was
Code: Select all
їThu Apr 15 17:14:12 2004] їerror] PHP Parse error: parse error in /export/home/local/Web/include/templates/content/c_einrichtungen.inc(130) : eval()'d code on line 1
їThu Apr 15 17:15:09 2004] їerror] PHP Parse error: parse error in /export/home/local/Web/include/templates/content/c_einrichtungen.inc(130) : eval()'d code on line 1
їThu Apr 15 17:22:00 2004] їerror] PHP Parse error: parse error in /export/home/local/Web/include/templates/content/c_einrichtungen.inc(130) : eval()'d code on line 1
їThu Apr 15 17:24:16 2004] їerror] PHP Parse error: parse error in /export/home/local/Web/include/templates/content/c_einrichtungen.inc(131) : eval()'d code on line 1
їThu Apr 15 17:27:13 2004] їerror] PHP Parse error: parse error in /export/home/local/Web/include/templates/content/c_einrichtungen.inc(130) : eval()'d code on line 1
їThu Apr 15 17:29:56 2004] їerror] PHP Parse error: parse error in /export/home/local/Web/include/templates/content/c_einrichtungen.inc(133) : eval()'d code on line 1Greez,
- bluenote