- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
<?php
include "dbconfig.php";
$db = mysql_connect("$dbhost","$dbuser","$dbpass");
mysql_select_db("$dbname",$db);
$mysqlsite = mysql_query("SELECT * FROM site WHERE id='1'");
$site = mysql_fetch_array($mysqlsite);
$titlesite = $site['title'];
$titlesite = iconv("CP1251", "UTF-8", "$titlesite");
$descriptionsite = $site['description'];
$descriptionsite = iconv("CP1251", "UTF-8", "$descriptionsite");
$keywordssite = $site['keywords'];
$keywordssite = iconv("CP1251", "UTF-8", "$keywordssite");
$contsite = $site['cont'];
$contsite = iconv("CP1251", "UTF-8", "$contsite");
?>
lucidfox 24.09.2011 19:45 # +3
Lure Of Chaos 24.09.2011 21:40 # +1
i-- 25.09.2011 00:15 # +2
Lure Of Chaos 24.09.2011 21:40 # +4
смысл базы теряется ваще
Spider 26.09.2011 17:24 # 0
Lure Of Chaos 26.09.2011 17:59 # +1
Spider 26.09.2011 18:21 # 0
OJA 26.09.2011 23:17 # 0