![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 85 Pomógł: 0 Dołączył: 29.03.2003 Skąd: Kraków Ostrzeżenie: (0%) ![]() ![]() |
mam taki skrypcik:
[php:1:6a3fa9711d]<?php mysql_connect($sqlhost, $sqluser, $sqlpass); mysql_select_db($sqldb); $query="SELECT * FROM tips WHERE letter=$letter"; $dane=mysql_query($query); while($row=mysql_fetch_array($dane)) { print($row[id]); } ?> [/php:1:6a3fa9711d] powoduje mi oto taki bląd: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in c:usrapachehttpdhtmlcybergamesindex.php on line 131 możecie mi wyjaśnic co w nim jest nie tak?? z góry dzięki (IMG:http://forum.php.pl/style_emoticons/default/biggrin.gif) (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) (IMG:http://forum.php.pl/style_emoticons/default/biggrin.gif) [/b] ?>[/php] |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 384 Pomógł: 0 Dołączył: 3.04.2003 Skąd: Chorzow Ostrzeżenie: (0%) ![]() ![]() |
Cytat [php:1:8bc2b9f0fc]<?php
mysql_connect($sqlhost, $sqluser, $sqlpass); mysql_select_db($sqldb); if (mysql_errno()) print mysql_error(); $query="SELECT * FROM tips WHERE letter=$letter"; $dane=mysql_query($query); if (mysql_errno()) print mysql_error(); while($row=mysql_fetch_array($dane)) { print($row[id]); } ?> [/php:1:8bc2b9f0fc] Odpal tak i zobacz co napisze. |
|
|
![]() ![]() |
![]() |
Aktualny czas: 3.10.2025 - 04:28 |