PHP-Quelltext |
|
1 |
$pages = mysql_fetch_assoc(mysql_query("SELECT * FROM pages WHERE id='".mysql_real_escape_string($explode['0'])."' AND page='".mysql_real_escape_string($explode['1'])."' LIMIT 1"));
|
PHP-Quelltext |
|
1 |
$pages = mysql_fetch_assoc(mysql_query("SELECT * FROM pages WHERE id='".mysql_real_escape_string($explode['0'])."' LIMIT 1"));
|
PHP-Quelltext |
|
1 |
$pages = mysql_fetch_assoc(mysql_query("SELECT * FROM pages WHERE id='".mysql_real_escape_string($explode['0'])."' AND page='".mysql_real_escape_string($explode['1'])."' LIMIT 1"));
|
PHP-Quelltext |
|
1 |
$pages = mysql_fetch_assoc(mysql_query("SELECT * FROM pages WHERE id='".mysql_real_escape_string($explode['0'])."' LIMIT 1"));
|
Klappt fast, die Seite wird angezeigt, aber der Textincludes/config.inc.php
Datei Version 3.9.1/0 | 12.03.2010
Zeile 596:
ändern in
PHP-Quelltext
1$pages = mysql_fetch_assoc(mysql_query("SELECT * FROM pages WHERE id='".mysql_real_escape_string($explode['0'])."' AND page='".mysql_real_escape_string($explode['1'])."' LIMIT 1"));
PHP-Quelltext
1$pages = mysql_fetch_assoc(mysql_query("SELECT * FROM pages WHERE id='".mysql_real_escape_string($explode['0'])."' LIMIT 1"));
Zeile 693:
ändern in
PHP-Quelltext
1$pages = mysql_fetch_assoc(mysql_query("SELECT * FROM pages WHERE id='".mysql_real_escape_string($explode['0'])."' AND page='".mysql_real_escape_string($explode['1'])."' LIMIT 1"));
PHP-Quelltext
1$pages = mysql_fetch_assoc(mysql_query("SELECT * FROM pages WHERE id='".mysql_real_escape_string($explode['0'])."' LIMIT 1"));
Try it, habs nun selber nicht getestet, aber sollte klappen!
PHP-Quelltext |
|
1 |
$seitenabfrage = mysql_fetch_assoc(mysql_query("SELECT * FROM pages WHERE id='".mysql_real_escape_string($explode['0'])."' AND page='".mysql_real_escape_string($explode['1'])."' LIMIT 1"));
|
PHP-Quelltext |
|
1 |
$seitenabfrage = mysql_fetch_assoc(mysql_query("SELECT * FROM pages WHERE id='".mysql_real_escape_string($explode['0'])."' LIMIT 1"));
|