Well, the code that I gave works. It turns out there is something wrong with the configuration of my php and mysql. A friend of mine used my code on his machine and it works as it indents to.
Thanks,
Alex.
Search found 2 matches
- Fri Nov 20, 2009 6:51 pm
- Forum: PHP - Code
- Topic: Saving result set into an array.
- Replies: 2
- Views: 146
- Fri Nov 20, 2009 3:12 am
- Forum: PHP - Code
- Topic: Saving result set into an array.
- Replies: 2
- Views: 146
Saving result set into an array.
A I have a database called: ijdb This database has a table, called: jokes Our table has these columns: id, joketext, jokedate My task is to output on screen all entries from our jokes table which are from id and joketext column. No need to output jokedate. I hope it makes sense. Here is how I do it,...