Subversion Repositories stackman

Rev

Rev 4 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4 Rev 6
Line 22... Line 22...
22
		exit(2);
22
		exit(2);
23
	}
23
	}
24
 
24
 
25
	if (!db_select_db($weblog_base)) {
25
	if (!db_select_db($weblog_base)) {
26
		fwrite(STDERR, "Weblog MySQL DB select error\n");
26
		fwrite(STDERR, "Weblog MySQL DB select error\n");
27
		weblog_close();
27
		db_close();
28
		exit(2);
28
		exit(2);
29
	}
29
	}
30
 
30
 
31
	$res = db_query("select * from stam_weblog order by id asc");
31
	$res = db_query("select * from stam_weblog order by id asc");
32
	while ($row = db_fetch_array($res)) {
32
	while ($row = db_fetch_array($res)) {