Jump to content

PHP Arrays


Salchester

Recommended Posts

In PHP, is there anyway of using variables to store each piece of information (Name,Species,Sex) inside an array. Then, when it comes to fetching the information, the array position (e.g. 0) is called along with the information type (Name etc).

 

A bit like the following:

 

record(1).name

 

The information is coming from the record array, at position 1 displaying names.

 

Many Thanks,

Link to comment
https://forums.phpfreaks.com/topic/56440-php-arrays/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.