[Year 12 SofDev] Records in PHP

David Dawson David.Dawson at wesleycollege.net
Wed Jul 14 11:23:29 EST 2010


I am not sure of what the text says ( I use the other book :) but records per se are not basic data types.
In PHP you can use a CSV file to store records and then process these using a simple array where the array position is a "field" and every element is initially a string.


David Dawson
Head of Information Technology Learning Area
Head of Learning Technologies
St Kilda Rd Campus
Wesley College 
577 St Kilda Rd
Melbourne 3004
Ph 8102 6340
Mob 0425 718147


>>> sofdev-bounces at edulists.com.au 07/14/10 8:40 am >>>
  

This is my first time teaching SD. We’re using PHP and the Fitzpatrick/Keane text. PHP doesn’t have a specific type called a “record” and a single vector array doesn’t seem to match the concept as illustrated (fig 6.5, page 162). Looking at the example in the text I’m wondering if I could describe it as an instance of a class?

 

Laurie Savage

Pascoe Vale Girls College 

 


____________________________________________________________________________

Sapere Aude - Dare To Be Wise

Wesley College Melbourne is a world class coeducational independent school
developing the whole person through timeless principles of learning:
- to know
- to do
- to live with 
- to be
with innovation and wisdom

ABN 38 994 068 473  CRICOS 00354G
____________________________________________________________________________

This email is intended only for the use of the individual or entity named
above and may contain information that is confidential and privileged. If
you are not the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this email is strictly prohibited.
If you have received this email in error, please email a reply to Wesley
College and destroy the original message.




More information about the sofdev mailing list