GeRik Posted June 3, 2009 Report Posted June 3, 2009 Velos uzlikt weba pasha lai raditu jaunakos postus foruma kas ir no IPB foruma reku var redzet webu lai saprastu ka to domaju Webs sheit Quote
SamS Posted June 3, 2009 Report Posted June 3, 2009 Ja vajag PM man.. varu varbut palidzet.. ;) Quote
kechums Posted June 3, 2009 Report Posted June 3, 2009 SELECT * FROM ibf_topics ORDER BY tid DESC Quote
kechums Posted June 3, 2009 Report Posted June 3, 2009 http://k4y.ihack.lv/raksts.php?v=3 Tev atliek tikai vaicājumu pamainīt. Quote
GeRik Posted June 3, 2009 Author Report Posted June 3, 2009 (edited) <? mysql_connect("localhost","root","parole"); mysql_select_db("forum"); $rez=mysql_query("SELECT * FROM ibf_topics ORDER BY tid DESC"); while($r=mysql_fetch_array($rez)) { echo $r['ibf_topics']; } ?> meginaju gan taaa gan taa <? mysql_connect("localhost","root","parole"); mysql_select_db("forum"); $rez=mysql_query("SELECT * FROM ibf_topics ORDER BY tid DESC"); while($r=mysql_fetch_array($rez)) { echo $r['tid']; } ?> un neviens negaja ar to tid tip paradijas 321 :D Edited June 3, 2009 by GeRik Quote
kechums Posted June 3, 2009 Report Posted June 3, 2009 $r['ibf_topics'] tāds lauks neeksistē, tā vietā raksti title. Quote
GeRik Posted June 4, 2009 Author Report Posted June 4, 2009 tagad aizgaja bet vnk tur paradas ka vardi nevis ka linki Quote
GeRik Posted June 4, 2009 Author Report Posted June 4, 2009 un kur es tev to a tagu iebazishu ? Quote
Val Posted June 4, 2009 Report Posted June 4, 2009 echo '<a href="http://www.google.lv">'.$r['title'].'</a>'; Quote
marrtins Posted June 4, 2009 Report Posted June 4, 2009 Ģeriks uzvedās tā, it kā visiem būtu pienākums viņam palīdzēt. Quote
GeRik Posted June 4, 2009 Author Report Posted June 4, 2009 (edited) varetu ludzu man pateikt kur ir kljuuda ? echo '<a href="http://bullshit.wc3.lv/forums/index.php?showtopic=['tid']&view=getnewpost">'.$r['title'].'</a>'; Edited June 4, 2009 by GeRik Quote
xPtv45z Posted June 4, 2009 Report Posted June 4, 2009 Lai nu kurš būtu pārmetis par saprotamu rakstīšanu. Pieturzīmes māki lietot? :) Apskaties vēlreiz uz Val iedoto piemēru un tavu murgu, kaut ko vēl neesi aizmirsis pielikt? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.