Jump to content
php.lv forumi

Lietotāju lapa


Defs

Recommended Posts

Še

<?php
$host = "";
$db = "";
$db_user = "";
$db_pw = "";
mysql_connect($host, $db_user, $db_pw) or die ("Neizdevās pieslēgties");
mysql_select_db($db) or die ("Neizdevās pieslēgties pie DB");

$sql = mysql_query("SELECT * FROM ibf_members");
while($row = mysql_fetch_array($sql)) {


echo '<a href="forums/index.php?showuser='.$row['id'].'">'.$row['members_display_name'].'</a>';

}
?>

Vrb kkur ielaidu kļūdu, bet apmēram viss tā kā būtu

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...