Jump to content
  • 0

pomoc [PHP & MySQL] Vypis ze zdola


daniele_pvk

Dotaz

Zdravím, zde mám příklad výpisu:

 

$result = mysql_query("SELECT * FROM users WHERE Neco='Neco'");

$num_rows = mysql_num_rows($result);

 

 

 

while($row = mysql_fetch_array($result))

{

 

echo "Name:" . $row['nickname'] . "";

 

}

 

 

 

Jak z tohoto udělat, aby to vypsalo poslední (dole) tři uživatele v tabulce který mají Neco='Neco' ?

Je to možné?

 

Díky :)

Link to comment
Share on other sites

1 odpověd na tuto otázku

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...