- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
$select_from = false;
if ($_GET['news_id']){
$this_id = (int)htmlspecialchars($_GET['news_id']);
$select_from = "news";
}
if ($_GET['article_id']){
$this_id = (int)htmlspecialchars($_GET['article_id']);
$select_from = "articles";
}
if ($_GET['articles_id']){
$this_id = (int)htmlspecialchars($_GET['articles_id']);
$select_from = "articles";
}
$w = mysql_fetch_assoc(mysql_query("SELECT * FROM `".$getdata['pref'].$select_from."` WHERE `id` = \"{$this_id}\" LIMIT 1"));
Konardo 27.02.2014 14:02 # −13
guest6 03.05.2024 06:00 # 0
ragnar 27.02.2014 21:03 # 0
guest 28.02.2014 05:17 # −8