Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]Tabela w while
viamarimar
post
Post #1





Grupa: Zarejestrowani
Postów: 303
Pomógł: 1
Dołączył: 24.09.2011

Ostrzeżenie: (10%)
X----


  1. echo "<table border='1'>";
  2. // wylistowanie rekordow
  3. $result = mysql_query("SELECT * FROM users ORDER BY id") or die(mysql_error());
  4.  
  5. while ($dane=mysql_fetch_array($result)) {
  6.  
  7. echo "<tr><td>{$dane[id]}</td><td>{$dane[user]}</td><td>{$dane[email]}</td><td><a href="?action=edytuj&id='.$dane[id].'">Edytuj</a></td> // co jest nie tak z ta linia
  8. <td><a href="?action=usun&id='.$dane[id].'">Usun</a</td>";
  9.  
  10. } // koniec while
  11. echo"</table>";


Parse error: syntax error, unexpected '=' ....

Ten post edytował viamarimar 21.10.2011, 12:48:24
Go to the top of the page
+Quote Post

Posty w temacie
- viamarimar   [PHP]Tabela w while   21.10.2011, 12:47:52
- - phpion   Forum to nie parser. Zamykam.   21.10.2011, 12:48:58


Closed TopicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 26.12.2025 - 10:29