Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]Problem z: Fatal error: Call to undefined function: array(), ... podczas $lnk=$row123(link);
Greg23
post
Post #1





Grupa: Zarejestrowani
Postów: 120
Pomógł: 0
Dołączył: 6.04.2012

Ostrzeżenie: (0%)
-----


Mam taki kodzik:

  1. echo $sql = 'SELECT id, link ...;' ;
  2.  
  3. $resultx = mysql_query($sql);
  4.  
  5. if(mysql_num_rows($resultx) > 0) {
  6.  
  7. while($row123 = mysql_fetch_assoc($resultx))
  8.  
  9. {
  10.  
  11. $lnk=$row123(link);
  12.  
  13. }



W linii:
$lnk=$row123(link);

Dostaje błąd:
Fatal error: Call to undefined function: array()

Dlaczego nie mogę przypisać do zmiennej $lnk zmiennej $row123(link) ?
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 2.10.2025 - 23:45