Jump to content
php.lv forumi

Recommended Posts

Posted

Tātad man ir šāds skripts:

<?
//iezveido no kkurienes savienojumu ar db ...

$query = mysql_query("SELECT * FROM ibf_members");
while($row=mysql_fetch_Assoc($query){
echo "<img src=images/grupas/".$row['mgroup'].".jpg />";


}
?>

Bet ka man apvienot to memberu bildi ar niku ? Lai būtu šādi - BILDE NIKS

Posted (edited)

<?
//iezveido no kkurienes savienojumu ar db ...

$query = mysql_query("SELECT * FROM ibf_members");
while($row=mysql_fetch_Assoc($query){
echo "<img src=images/grupas/".$row['mgroup'].".jpg /> ".$row['username']."";


}
?>

vienīgi nezinu īsti kāds ipb ir lietotāja nika rindas nosaukums.

Edited by feikkk
Posted

Šis gandrīz kā gign. A no kurienes viņš ņem grupas no ipb vai pasām jaliek? Man ar tada lieta derētu ja tev iznāk tad ieliec šeit pat lūdzu!

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