Eevo Theme
   [ Main Page ]

- PHP question by rub on Wednesday May 2, 2001 @ 10:22am

Re: PHP question
Posted by voltaic on Wednesday May 2, 2001 @ 10:50am
>>reply ][ rating +0  ]

what in particular is the error you are getting? on the surface i don't see anything wrong with your code.

i did it with a wiffle ball bat!


<< Re: PHP question
Posted by rub on Wednesday May 2, 2001 @ 11:10am
>>reply ][ rating +0  ]

what in particular is the error you are getting? on the surface i don't see anything wrong with your code.

Bitch I said try it! heheh.. nah, here is what I get (assuming $numfields=22):

0.d 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21.
0.d 1.d 2. 3. 4. 5. 6. 7. 8. 9. 10.d 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21.
0.d 1.d 2.d 3. 4. 5. 6. 7. 8. 9. 10.d 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21.
0.d 1.d 2.d 3. 4. 5. 6. 7. 8. 9. 10.d 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21.
0.d 1.d 2.d 3. 4.d 5. 6. 7. 8. 9.d 10.d 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21.
0.d 1.d 2.d 3. 4.d 5.d 6. 7. 8. 9.d 10.d 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21.
0.d 1.d 2.d 3. 4.d 5.d 6.d 7. 8. 9.d 10.d 11. 12.d 13. 14. 15. 16. 17. 18. 19. 20. 21.
0.d 1.d 2.d 3. 4.d 5.d 6.d 7.d 8. 9.d 10.d 11. 12.d 13. 14. 15. 16. 17. 18. 19. 20. 21.
0.d 1.d 2.d 3. 4.d 5.d 6.d 7.d 8.d 9.d 10.d 11. 12.d 13. 14. 15. 16. 17. 18. 19. 20. 21.
0.d 1.d 2.d 3. 4.d 5.d 6.d 7.d 8.d 9.d 10.d 11. 12.d 13. 14. 15. 16. 17. 18. 19. 20. 21.
0.d 1.d 2.d 3. 4.d 5.d 6.d 7.d 8.d 9.d 10.d 11. 12.d 13. 14. 15. 16. 17. 18. 19. 20. 21.
0.d 1.d 2.d 3. 4.d 5.d 6.d 7.d 8.d 9.d 10.d 11.d 12.d 13. 14. 15. 16. 17. 18. 19. 20. 21.
0.d 1.d 2.d 3. 4.d 5.d 6.d 7.d 8.d 9.d 10.d 11.d 12.d 13. 14. 15. 16. 17. 18. 19. 20. 21.
0.d 1.d 2.d 3. 4.d 5.d 6.d 7.d 8.d 9.d 10.d 11.d 12.d 13.d 14.d 15.d 16.d 17.d 18.d 19.d 20.d 21.d
0.d 1.d 2.d 3. 4.d 5.d 6.d 7.d 8.d 9.d 10.d 11.d 12.d 13.d 14.d 15.d 16.d 17.d 18.d 19.d 20.d 21.d
0.d 1.d 2.d 3. 4.d 5.d 6.d 7.d 8.d 9.d 10.d 11.d 12.d 13.d 14.d 15.d 16.d 17.d 18.d 19.d 20.d 21.d
0.d 1.d 2.d 3. 4.d 5.d 6.d 7.d 8.d 9.d 10.d 11.d 12.d 13.d 14.d 15.d 16.d 17.d 18.d 19.d 20.d 21.d
0.d 1.d 2.d 3. 4.d 5.d 6.d 7.d 8.d 9.d 10.d 11.d 12.d 13.d 14.d 15.d 16.d 17.d 18.d 19.d 20.d 21.d
0.d 1.d 2.d 3. 4.d 5.d 6.d 7.d 8.d 9.d 10.d 11.d 12.d 13.d 14.d 15.d 16.d 17.d 18.d 19.d 20.d 21.d
0.d 1.d 2.d 3. 4.d 5.d 6.d 7.d 8.d 9.d 10.d 11.d 12.d 13.d 14.d 15.d 16.d 17.d 18.d 19.d 20.d 21.d
0.d 1.d 2.d 3. 4.d 5.d 6.d 7.d 8.d 9.d 10.d 11.d 12.d 13.d 14.d 15.d 16.d 17.d 18.d 19.d 20.d 21.d
0.d 1.d 2.d 3. 4.d 5.d 6.d 7.d 8.d 9.d 10.d 11.d 12.d 13.d 14.d 15.d 16.d 17.d 18.d 19.d 20.d 21.d


now what the fuck is that all about?!

<< Re: PHP question
Posted by voltaic on Wednesday May 2, 2001 @ 12:57pm
>>reply ][ rating +0  ]

it looks like it's doing what you told it to. try instead of setting fieldname="d" to just have it print out the actual field name. i'm thinking perhaps it's only running that little nested loop on fields of certain types or which do not have null values in the sql results. on the other hand, you only posted partial code plus no idea what the table looks like. hehe

i did it with a wiffle ball bat!


   [ Main Page ]

- PHP question by rub on Wednesday May 2, 2001 @ 10:22am