- 0
Generare numar din mysql_query
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
BuNiCu-RP
Problema intalnita (descriere): Nu reusesc sa generez numarul de rezultate din mysql_query
Ero(area / rile) / warning-(ul / urile): Nu sunt erori
Liniile de cod / sursa / script-ul(obligatoriu):
stock CheckJobWorker(jID) { new query[128], rows, fields; format(query, sizeof(query), "SELECT COUNT(*) FROM `users` WHERE `Job` = '%d'", jID); mysql_query(SQL, "SELECT COUNT(*) FROM `users` WHERE `Job` = 1", true); cache_get_data(rows, fields, SQL); printf("%d | %d workers", rows, fields); return 0; }
Imagini / Video (optional): -
Ati incercat sa rezolvati singur?: - Ma bat cu codul de 30 minute, in phpmyadmin imi arata la select 7, in gm imi genereaza 1..
Link to comment
Share on other sites
2 answers to this question
Recommended Posts