Показать сообщение отдельно
Старый 22.04.2002, 00:41
Anton-Killer вне форума Посмотреть профиль Отправить личное сообщение для Anton-Killer Посетить домашнюю страницу Anton-Killer Найти все сообщения от Anton-Killer
  № 1  
Anton-Killer

Регистрация: Jun 2001
Адрес: Украина Днепропетровск
Сообщений: 185
Отправить сообщение для Anton-Killer с помощью ICQ
По умолчанию Что-то со скриптом

Не могу понять
Не работает мой КОД
PHP код:
<?
if ($link=="create") {
  
$resul=mysql_query($create$link);

  if (
$result) {
    
printf("<center>
            <form action="
.$PHP_SELF." method=POST>
            <input type=hidden value="
.$login.">
            <input type=hidden value="
.$password.">
            <input type=submit value=Администрационная>
            </form>
            </center>"
);
  } else {
    
$exit="Запрос не прошел, обратитесь к администратору";
  }
} elseif (
$link=="table") {
  require(
"setup.php");
  print  (
"
          <form action="
.$PHP_SELF." method=POST>
          <p><img src=images/admin_logo.jpg> </p>
          <blockquote>
          <p><img src=images/1.gif align=absmiddle>
          <input type=text name=tablecolor size=7 maxlength=7 value="
.$tblcolor."><br>
          <img src=images/2.gif align=absmiddle>
          <input type=text name=sbjcolor size=7 maxlength=7 value="
.$textcolor."><br>
          <img src=images/3.gif align=absmiddle>
          <input type=text name=infocolor size=7 maxlength=7 value="
.$infocolor."><br>
          <img src=images/4.gif align=absmiddle>
          <input type=text name=nickcolor size=7 maxlength=7m value="
.$namecolor."><br>
          <img src=images/5.gif align=absmiddle>
          <input type=text name=msgtblcolor size=7 maxlength=7 value="
.$datecolor."><br>
          <img src=images/6.gif align=absmiddle>
          <input type=text name=msgtextcolor size=7 maxlength=7 value="
.$msgcolor."><br><br>
          Имя администратора.<br>
          <input type=text name=adminlogin size=7 maxlength=7 value="
.$adminname."><br>
          Пароль администратора.<br>
          <input type=text name=adminpass size=7 maxlength=7 value="
.$adminpass."><br>
          </p>
          <input type=hidden value="
.$login.">
          <input type=hidden value="
.$password.">
          <input type=submit value=Изменить>
          </blockquote>
          </form>"
);
}
?>
Потом вызываю admin.php?link=table
и ничего он не выводит
__________________
Why drink and drive when you can smoke and fly