![]() |
Need a specific Number of MySQL-Fields
OK, here's my problem.
I've got a MySQL-table with several fields (fake1,fake2,test1,test2,test3,fake3). Now, I do only want to get the fields test1,test2,test3, but I only know by an Integer, how may there are (because the number of fields increases from time to time, so there will be test4, test5,..., test100 in near future etc). With Non-Arrays (integer for example, $Test1, $Test2, $Test3 etc), I normaly would use something like this: PHP Code:
PHP Code:
|
maybe because you didn't identify the variable:
PHP Code:
g-force2k2 |
Ehm... no.
I've declared it (=5). |
The Problem is, that the code
PHP Code:
Here's the proof: PHP Code:
I really need to run the first one, so plzzzzz help me ! |
Try the following:
PHP Code:
|
Quote:
ThankyouThankyouThankyouThankyouThankyouThankyou ThankyouThankyouThankyouThankyouThankyouThankyou ThankyouThankyouThankyouThankyouThankyouThankyou ThankyouThankyouThankyouThankyouThankyouThankyou ThankyouThankyouThankyouThankyouThankyouThankyou ThankyouThankyouThankyouThankyouThankyouThankyou :D |
All times are GMT. The time now is 03:59 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:
|