php
Friday, December 1, 2017, 06:00 PM
Most of the day was spent learning PHP for the membership database on AVSA. I'm learning a lot about this language starting with how to execute programs and printing to the screen for debugging. I have it reading a CSV file which was difficult in itself since I originally had the file with an extension. i found that the CSV extension was preventing the file from being read. Once I deleted the extension it was all a go. I now have all the pieces to read a file line by line, extract the relevant data, insert it into a record as required by the Drupal API. I tested this on a subset of the AVSA database with some success. I also need a way to submit a list of member IDs and roles to the website for inclusion into the database. I may have to write an app to do this which would call a PHP program under the covers. Lots to do and think about. I think it's all fun.
Dinner tonight was spaghetti with cheese and tomato sauce. Libbie is getting better but still has a bad cough.
|
| ( 0 / 0 )