|
|
#1 (permalink) |
|
Üyelik Tarihi: 18.02.2007
Yer: istanbul
Yaş: 23
Mesaj: 4
|
"supplied argument is not a valid MySQL result" hatası
arkadaşlar şöyle bir SQL sorgum var. Localhostta çalışıyor fakat servera attığımda Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/content//HTML/dinamik/machines.PHP on line 59 şeklinde bir hata veriyor. 58.ve 59.satırlarım böyle. Database bağlantısında sorun olmadığından eminim. Nasıl düzeltebilirim bunu? $mach_sorgu=mysql_query("select machine_id,model,manufacturer_name,year,image_name from machine,manufacturer,images where colours =".$colour." and machine.manufacturer = manufacturer.manufacturer_id and image_machine_id=machine_id and pri='1' and archive='0'"); $sayi=mysql_num_rows($mach_sorgu); |
|
|
|
|
|
#2 (permalink) | |
|
Re: "supplied argument is not a valid MySQL result" hatası
Alıntı:
Kod:
$mach_sorgu=mysql_query("SELECT machine_id, model, manufacturer_name, year, image_name FROM machine, manufacturer, images WHERE (TABLO_ADI.colours = ".$colour.") AND (machine.manufacturer = manufacturer.manufacturer_id) AND (TABLO_ADI.image_machine_id = machine_id) AND (TABLO_ADI.pri = '1') AND (TABLO_ADI.archive='0')");
__________________
onurkose.com |
||
|
|
|
| Sponsorlu Bağlantılar | |
|
Zoque.Forum
Reklam
|
|
![]() |
| Etiketler |
|
hatasi , resultquot , mysql , valid , argument , quotsupplied |
|
|
Zoque'a hoşgeldiniz!