Kod
<html>
<head>
<body>
<title>portfel</title>
<?php
include("polacz.php");
$stanQuery = mysql_query("select * from stan order by id desc")or die("blad zapytania");{
while($stan = mysql_fetch_assoc($stanQuery)){
if(mysql_num_rows($stanQuery) > 0){
echo $stan['id']; // tutaj wsadź nazwę kolumny
}}}
?>
</body>
</head>
</html>
<head>
<body>
<title>portfel</title>
<?php
include("polacz.php");
$stanQuery = mysql_query("select * from stan order by id desc")or die("blad zapytania");{
while($stan = mysql_fetch_assoc($stanQuery)){
if(mysql_num_rows($stanQuery) > 0){
echo $stan['id']; // tutaj wsadź nazwę kolumny
}}}
?>
</body>
</head>
</html>
zapytanie wykonane. z góry dzięki