Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Refresh Bannerow nie dziala
scooter
post
Post #1





Grupa: Zarejestrowani
Postów: 16
Pomógł: 0
Dołączył: 13.03.2004

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


Banery nie chca mi sie zmieniac w iframe - nie wiem dlaczego
jak odpale sam plik z kodem to dziala a jak przez inny plik w iframe juz nie!! pomocy!!!


[php:1:492e218f13]<?php
<meta http-equiv="Refresh" content="5; URL=proba.php">

include "./common_db.inc";

$lind_id = db_connect($default_dbname);
$query = "SELECT banner_nazwa from banner where banner_flag='1'";
$result = mysql_query($query) or die ("Zapytanie zakończone niepowodzeniem");

$ilosc = mysql_num_rows($result);

$i=1;
while($nazwy = mysql_fetch_row($result)) {
$gif[$i] = $nazwy[0];
$i++;
}

$random1 = rand(1,$ilosc);
?><center><?
echo "<img src="$gif[$random1]">";
?>

?>[/php:1:492e218f13]
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
scooter
post
Post #2





Grupa: Zarejestrowani
Postów: 16
Pomógł: 0
Dołączył: 13.03.2004

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


[php:1:ba469ec889]<?php
<html>
<body>
<center>
<H3>Portal</H3>
<p><iframe name="I1" width="420" height="80" src="./banner/proba.php" scrolling="no"
border="0">
</center>
</body>
</html>

?>[/php:1:ba469ec889]
Go to the top of the page
+Quote Post

Posty w temacie
- scooter   Refresh Bannerow nie dziala   16.04.2004, 23:34:42
- - eS...   może pokaż kod z iframe?? co dajesz w src   17.04.2004, 00:45:38
- - scooter   <?php <html> <body> <center...   17.04.2004, 10:00:19
- - scooter   PoMoCy Przy Banerach i Refreshu   20.04.2004, 16:44:16


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: 3.10.2025 - 01:20