Miscellaneous > Programming & Networking
Database
TheQuirk:
This is odd.
Why doesn't
--- Code: ---
--- End code ---
echo the table? grr...
voidmain:
What *does* it output? Have you done a View Source? Can you point me to the link where this page is implemented? Also you might want to throw in some "\n" (newlines) at the end (or where appropriate) in your "echo" statements, makes reading the source (View Source) much more readable. In the mean time I will look a little more closely at the code, don't see anything that jumps right out as being wrong.
voidmain:
I just created a database and a table containing the fields you have listed in your code. I entered a few rows, copied your code into a file and it runs just fine and displays the table. Of course you are only pulling the "id" field so it only shows the "id" column but I assume you know this and aren't even getting that. If you want to pull all fields and populate the entire table then you would want to change line 27 to:
--- Code: ---
--- End code ---
[ September 16, 2002: Message edited by: void main ]
TheQuirk:
yeah, I was in such a hurry I just wanted to see if it worked. And it didn't. Sigh.. Maybe I'll try again tommorow. Sleep now!
Calum:
for ref: it is found at http://members.lycos.co.uk/GAKbrUlkRle!/changed.html
in the test site for the upcoming fuckmicrosoft.com FAQ...
login details for the actual database and so on that is being used here can be got by sending a PM to one of the mods.
[ September 17, 2002: Message edited by: Calum ]
Navigation
[0] Message Index
[#] Next page
Go to full version