Witajcie mam problem napisalem kod wstawilem $rowONOFF['config_name']; w echo i sie nic nie dzieje nie pokazuje nic ;(
oto cały kod
<?php
if($site_on_off == 'off'){
$queryONOFF = "SELECT * FROM config WHERE id='1'";
echo $rowONOFF['config_name']; /*
echo '<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" />
<style type="text/css">
table {border: 1PX SOLID #000;color: #FFF;}
</style>
</head>
<body bgcolor="#0C1318" text="#E2E2E2">
<table width="95%" align="center" cellspacing="1">
<tr>
<td>
<center><img src="theme/'.$theme.'/blad.gif" border="0" /></center>
</td>
</tr><tr><td bgcolor="#1E2C38" align="center">'.$row['config_name'].'</td></tr><tr><td bgcolor="#243F4D">
'.$row['config_text'].'<br />
<br />
<br /></td></tr></table>
</body></html>
';*/
?>
Ten post edytował zaba12 2.09.2006, 10:19:47