Get support from Xavier Media
It is currently Sun Dec 08, 2013 12:27 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Reading into an array?
PostPosted: Sat Sep 30, 2006 8:22 pm 

Points:
What is the correct way of reading the contents of a DB into an array?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: Sat Sep 30, 2006 9:52 pm 

Points:
Sorry about that, as soon as I posted I realised I already knew the answer.... :lol:


Report this post
Top
  
Reply with quote  
 Post subject: Getting MySQL data into an array
PostPosted: Sun Oct 01, 2006 1:05 am 

Points:
For those who might also be wondering, this page gives a list of all PHP functions that can be used with MySQL. (Scroll three pages down) From there you can decide which function would be best for your particular situation.

Here are some:

Code:
mysql_fetch_array -- Fetch a result row as an associative array, a numeric array, or both
mysql_fetch_assoc -- Fetch a result row as an associative array
mysql_fetch_object -- Fetch a result row as an object
mysql_result -- Get result data
mysql_fetch_row -- Get a result row as an enumerated array


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Registered users: No registered users


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Portal » Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
[
SEO MOD © 2007 StarTrekGuide ]