![]() |
Query not returning right..
This really is a simple noob error (I think), I am probaly not using mysql_fetch_array right. - just to clarify, looks a lot bigger than it really is
I am apparently selecting a string array wrong. Of the two used fields, one CatID should always be 52, and the Words 'This', 'Is', 'A', 'Category', but it gives weird 1 character results. The same query put into phpMyAdmin displays properly. PHP Code:
Code:
query SELECT * FROM dub_catWords WHERE worth = '1' Code:
word this |
PHP Code:
|
Could you explain? Not disagreeing just I am curious. That would mean extra function calls wouldn't it?
PS: It works. |
I am not really for sure, sorry but you can read about the mysql_fetch_array here. Maybe you will find your answer there.
|
mysql_fetch_array() fetches the results as an array. And the while construct loops through the array until it ends.
|
All times are GMT. The time now is 10:51 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|