![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 64 Pomógł: 0 Dołączył: 23.03.2011 Ostrzeżenie: (0%) ![]() ![]() |
Witam mam takiego div-a
<div id='2'>treść include</div> Stworzyłem też plik który przeniosłem do includes o nazwie pliki.php chce aby jego zawartość wyświetlała się w tym div-e jaki kod mam wkleić zamiast "treść include" hmm?? |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 64 Pomógł: 0 Dołączył: 23.03.2011 Ostrzeżenie: (0%) ![]() ![]() |
ok tylko jest takie coś :
Table 'rfleague_bazza.forums' doesn't exist kod pliki.php: Kod <?php
$resulte = dbquery(" SELECT tf.forum_id, tt.thread_id, tt.thread_subject, COUNT(tp.post_id) as count_posts FROM ".$db_prefix."forums tf INNER JOIN ".$db_prefix."threads tt USING(forum_id) INNER JOIN ".$db_prefix."posts tp USING(thread_id) WHERE forum_access<='".iUSER."' GROUP BY thread_id ORDER BY thread_lastpost DESC LIMIT 5 "); if (dbrows($resulte) != 0) { echo "<table width='100%' cellpadding='0' cellspacing='0'>\n"; while($datae = dbarray($resulte)) { $itemsubjectt = trimlink($datae['thread_subject'], 20); echo "<tr>\n<td align='left'> - <a href='".FORUM."viewthread.php?forum_id=".$datae['forum_id']."&thread_id=".$datae['thread_id']."' class='side'>$itemsubjectt</a></td> <td align='right' >[".($datae['count_posts']-1)."]</td>\n</tr>\n"; } } ?> |
|
|
![]() ![]() |
![]() |
Aktualny czas: 2.10.2025 - 20:24 |