Jump to content
php.lv forumi

palīdzat


gunmetal

Recommended Posts

Man ir kods, kurš paņem niku no foruma un izņem bildi no db table members

while($row = mysql_fetch_array($result)){		
$username = $row[niks];
$user = "SELECT * FROM members WHERE username = '$username'";
$result = mysql_query($user);{$bilde = $result[avatar];
	echo "$bilde";
}
}

kas šeit ir nepareizi ja kods

 

while($row = mysql_fetch_array($result))
	{
	echo "bla bla bla";}
}

iznes man vajadzīgo no foruma

 

Bet 1. kods neiznes lietotāja bildi

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