Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [HTML]Ramki...
GoOx
post
Post #1





Grupa: Zarejestrowani
Postów: 329
Pomógł: 6
Dołączył: 23.11.2011
Skąd: Łódź

Ostrzeżenie: (0%)
-----


Cześć,

dzisiaj próbuje się uporać od chyba 2 godzin z 1 ramką, szukałem wszędzie gdzie się dało i nadal nie wiem jak to coś działa.

Tu kod:

  1. <?
  2. include('connect.php');
  3. include('dane.php');
  4. include('logo.php');
  5. include('menu.php');
  6. ?>
  7. <div class="content">
  8. <?
  9. $str_upload = mysql_query("SELECT upload FROM config WHERE id='1'");
  10. $str_upload = mysql_fetch_row($str_upload);
  11. $str_upload = $str_upload[0];
  12. echo $str_upload;
  13. ?>
  14. </body>
  15. <frameset cols="200,200">
  16. <frame name="upload" src="index.php" />
  17. <noframes><body><a href="spis.html">spis treści</a></body></noframes>
  18. </frameset>
  19. <body>
  20. </div>
  21. <?
  22. include('footer.php');
  23. ?>
  24. </div>
  25. </body>
  26. </html>


Po prostu nic mi nie pokazuje.

Z góry dzięki za pomoc.

Ten post edytował GoOx 1.06.2012, 12:20:17
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
GoOx
post
Post #2





Grupa: Zarejestrowani
Postów: 329
Pomógł: 6
Dołączył: 23.11.2011
Skąd: Łódź

Ostrzeżenie: (0%)
-----


IProSoft wszystko jest patrz:

plik dane.php
  1. <!DOCTYPE html PUBLIC>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-type" content="text/html; charset=windows-1250">
  5. <meta name="Description" content="...">
  6. <meta name="Keywords" content="...">
  7. <title>...</title>
  8. <link rel="stylesheet" href="style/styl.css" type="text/css">
  9. </head>
  10. <body>
  11.  
  12. <?
  13. $logged = $_SESSION['logged'];
  14. if($logged == true) {
  15. $id_user = $_SESSION['id'];
  16. $user_dane = mysql_query("SELECT login, poziom FROM users WHERE id='$id_user'");
  17. $user_dane = mysql_fetch_row($user_dane);
  18. $user_login = $user_dane[0];
  19. $user_admin = $user_dane[1];
  20.  
  21. $user_ip = $_SERVER['REMOTE_ADDR'];
  22. $dane_update = "UPDATE users SET last_ip = '$user_ip', time = NOW() WHERE id = '$id_user' ";
  23. $dane_update = mysql_query($dane_update, $db_lnk)or die(mysql_error());
  24. }
  25. ?>

i potem dalej jest to:

  1. <?
  2. include('connect.php');
  3. include('dane.php');
  4. include('logo.php');
  5. include('menu.php');
  6. ?>
  7. <div class="content">
  8. <?
  9. $str_upload = mysql_query("SELECT upload FROM config WHERE id='1'");
  10. $str_upload = mysql_fetch_row($str_upload);
  11. $str_upload = $str_upload[0];
  12. echo $str_upload;
  13. ?>
  14. </body>
  15. <frameset cols="200,200">
  16. <frame src="index.php" />
  17. <noframes><body><a href="spis.html">spis treści</a></body></noframes>
  18. </frameset>
  19. <body>
  20. </div>
  21. <?
  22. include('footer.php');
  23. ?>
  24. </div>
  25. </body>
  26. </html>


a tam dałem </body> ponieważ w poniższym linku nie ma w ogóle body
http://www.kurshtml.edu.pl/html/gotowiec,ramki.html

Dobra już wiem, tamto jest do podziału ramek,

zrobiłem tak:

  1. <iframe src="index.php" style="width:500px; height:300px;"/>


Ten post edytował GoOx 1.06.2012, 12:45:08
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 2.10.2025 - 11:47