Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [MySql]Problem z wyciagnieciem danych z komorki
mnc
post
Post #1





Grupa: Zarejestrowani
Postów: 4
Pomógł: 0
Dołączył: 30.05.2005

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


Mam taki problem, ze nie moge wyciagnac danych z komorki. Probowalem juz kilka sposobow i zawsze sie wysypywal przy mysql_fetch_row, array i assoc
Moze poradzicie cos na to ?

  1. <?php
  2. $uidd = $_GET['edit'];
  3. $query = &#092;"SELECT emailaddress FROM userdata WHERE userid = $uidd\";
  4. $result = mysql_query($query, $lacz);
  5. echo $result.'dd<BR>';
  6.  
  7.  $aRekord = mysql_fetch_array($result, MYSQL_ASSOC);
  8.  
  9.  $emailaddress = $aRekord['emailaddress'];
  10.  echo $emailaddress;
  11. ?>

I blad typu
Kod
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in ...\adminupdate.php on line 44


Przy czym linia 44 to
  1. <?php
  2. $aRekord = mysql_fetch_array($result, MYSQL_ASSOC);
  3. ?>
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Aktualny czas: 22.08.2025 - 10:06