Parašė raima220· 2011 Bal. 3 13:04:25
#1
ir errorą
Notice: Use of undefined constant fusion2f74c_news_kalba - assumed 'fusion2f74c_news_kalba' in C:\wamp\www\administration\news.php on line 289
va tos eilutės
$result = dbquery("SELECT news_kalba_id, news_kalba_name FROM ".fusion2f74c_news_kalba." ORDER BY news_kalba_name");
$news_kalba_opts = ""; $sel = "";
if (dbrows($result)) {
while ($data = dbarray($result)) {
if (isset($news_kalba)) $sel = ($news_kalba == $data['news_kalba_id'] ? " selected='selected'" : "");
$news_kalba_opts .= "<option value='".$data['news_kalba_id']."'$sel>".$data['news_kalba_name']."</option>\n";
Parašė raima220· 2011 Bal. 3 13:04:54
#3
Padariau taip
$result = dbquery("SELECT news_kalba_id, news_kalba_name FROM ".DB_PREFIX.news_kalba." ORDER BY news_kalba_name");
čia man atrodo negerai ;/
meta kitą errorą