Array and MySQL
#3

HI puh someone help me THANK YOU Im not alone hihi.
Well can you change it please? I write now over 2-3 hours on THIS little code and everytime a other error or not the right result.

My Problem is, that i want to get all content from a table. Each row has to be later like row[0], row[1] .... so i can handle the data. You understand?

//Edit
Ah... i know what you mean.
I removed format(...) and changet the line into:
Код:
		formatarray[i] = array[i];
But now in the console, it show wrong.

Example.

In DB:
row 1: lol
row 2: muh
row 3: rofl

It looks in the console now like (LOOK: It start not from first entry - bug?):

r
o
f
l
<null>
<null>
<null>
<null>
<null>
<null>
...

but it must show

lol
muh
rofl

why does it dont show like in the DB?
Reply


Messages In This Thread
Array and MySQL - by KingArthur - 05.07.2009, 18:40
Re: Array and MySQL - by Nero_3D - 05.07.2009, 18:58
Re: Array and MySQL - by KingArthur - 05.07.2009, 19:07
Re: Array and MySQL - by Nero_3D - 05.07.2009, 19:42
Re: Array and MySQL - by KingArthur - 05.07.2009, 19:48
Re: Array and MySQL - by Nero_3D - 05.07.2009, 20:10
Re: Array and MySQL - by KingArthur - 05.07.2009, 20:24
Re: Array and MySQL - by Nero_3D - 05.07.2009, 20:52
Re: Array and MySQL - by KingArthur - 05.07.2009, 21:12
Re: Array and MySQL - by Nero_3D - 06.07.2009, 12:20

Forum Jump:


Users browsing this thread: 1 Guest(s)