Jump to content
php.lv forumi

Izvilkt jaunakos postus no ipb


GeRik

Recommended Posts

<?
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 by GeRik
Link to comment
Share on other sites

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 by GeRik
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...