Jump to content
GIGN Forum

Web Shop


Cracky
 Share

Recommended Posts

Sveiki man ir probleema ar webshopu meginaaju izlabot jebkaadigi nu nemaaku!!

Kr4 pie lietas. Es aizsutu izzinu atnak kods ievadu to ailee un uzpiezu Apstiprinaatb et man uzmet saadu erroru!!

Warning:mysql_result(): Supplied argument is not a valid MySQL result resource in C:\AppServ\www\sms\smscw.phpon line 82

es atveru tur man taa 82 line iskataas saadi!

if(mysql_result(mysql_query("SELECT COUNT(*) FROM code WHERE code = '$code'"),0,'COUNT(*)') > 0){

Ludzu kads vareetu paliidzeet!

Varetu pateikt ludzu ko darit vajag???

Edited by Cracky
Link to comment
Share on other sites

Pateikšu priekšā - nav pareizs selekts. Īsti nezinu, vai mysql_result drīkst pielietot tādu count(*)

Vispār nesaprotu, kapēc tāds ifs nepieciešams. Kāds ir centies kaut ko nevajadzīgi sarežģīt.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...