laucinieks Posted February 23, 2010 Report Share Posted February 23, 2010 Kas, jāsamaina lai parādītos mājaslapā komentāri un datums, šim skriptam? Skripts - http://paste.php.lv/4d4172470fc35d3d78c2bbe17c1ec76c?lang=php Paldies, laucinieks Link to comment Share on other sites More sharing options...
2easy Posted February 23, 2010 Report Share Posted February 23, 2010 droši vien jāpaņem & jāparāda komentāri un datums no attiecīgās tabulas Link to comment Share on other sites More sharing options...
eude Posted February 23, 2010 Report Share Posted February 23, 2010 (edited) echo "<h3><a href=\"$forums/index.php?showtopic=".$row['tid']."\">".$row['title']."</a> <br><br><br /></h3>"; echo "<div>".$rowis['post']."</div><br />"; echo "<div>Autors: <a href=\"$forums/index.php?showuser=".$row['starter_id']."\">".$row['starter_name']."</a> (datums: ".$row['start_date'].")</div><br><br><hr>"; varbūt start_date jāaizvieto ar citu tabulu, īsti nezinu. iespējams post_date Edited February 23, 2010 by eude Link to comment Share on other sites More sharing options...
laucinieks Posted February 23, 2010 Author Report Share Posted February 23, 2010 Datums, ir bet, kā ar komentāriem? Link to comment Share on other sites More sharing options...
Aleksejs Posted February 23, 2010 Report Share Posted February 23, 2010 Tak apskaties tabulas lauku nosaukumus un attiecīgo tabulas lauku arī izvadi. piekabinot galā tai rindai kkādu: . $row['comment'] Link to comment Share on other sites More sharing options...
laucinieks Posted February 23, 2010 Author Report Share Posted February 23, 2010 Ok paldies, atradu :)! Link to comment Share on other sites More sharing options...
Recommended Posts