Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Błąd
White_Master
post
Post #1





Grupa: Zarejestrowani
Postów: 32
Pomógł: 0
Dołączył: 27.02.2005

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


Mam taki kod :
  1. <?php
  2. $dbc = mysql_connect (localhost, root, krasnal);
  3. mysql_select_db(&#092;"cms\");
  4. print(&#092;"<TABLE BORDER='1'>\");
  5. $id = 0;
  6. $e = &#092;"SELECT CONCAT(posts_titles, 'a') FROM forum_categories AS nalla DESC LIMIT 1\";
  7. $ee = @mysql_query ($e);
  8. while ($titlee = mysql_fetch_array ($ee, MYSQL_NUM)) {
  9. $tytee = $titlee[0];
  10. }
  11. $eee = &#092;"SELECT CONCAT('<TR><TD background=belka.JPG>', forum_category, '</TD><TD>Ostatni post napisał :</TD><TD>Nazwa postu :</TR><TR><TD>', forum_subcategory, '</TD><TD>', user, '</TD><TD>$tytee</TD>') FROM forum_categories AS nall\";
  12. $eeee = @mysql_query ($eee);
  13.  
  14.  
  15. while ($titleee = mysql_fetch_array ($eeee, MYSQL_NUM)) {
  16. print($titleee[0]);
  17. }
  18. ?>

i wyskakuje mi taki błąd :
Cytat
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in c:\usr\krasnal\www\dla asd\CMS_new\forum\index.php on line 9

dlaczego (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) co w tym jest źle (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif)
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: 23.08.2025 - 15:53