0) $web_topic = mysql_result($web_topic_qry, 0); $def_kwords_settings_sel = "select * from eweb_seo where id = '1'"; $def_kwords_settings_qry = mysql_query($def_kwords_settings_sel); $KEYWORDS[0] = $web_topic; if (mysql_num_rows($def_kwords_settings_qry) > 0) { $def_kwords_settings_res = mysql_fetch_array($def_kwords_settings_qry); for($i=1;$i<=10;$i++) $KEYWORDS[]=$def_kwords_settings_res["keyword$i"]; $WEBDESC=$def_kwords_settings_res['description']; } $template_arr=array("Template 1","Template 2","Template 3","Template 4","Template 5"); $template_path="template/Template 4/";