Jump to content
Larry Ullman's Book Forums

gabian

Members
  • Posts

    3
  • Joined

  • Last visited

gabian's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Hi everybody, I'm dusting off my PHP with this book. I'm using a kindle edition. In chapter 2 I can read: $months = [1 => 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']; This doesn't work for me (PHP 5.3.1) I think it should read: $months = array(1 => 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December');
  2. Hi, As far as I remember, Larry is using some mysqli functions with no mysql equivalent. I’m thinking at prepared statements and binding (chapter 7 and chapter 11), but they may be some others functions as well.
  3. Hello everybody, I’ve studied this book and ask a few questions a couple of month ago, in the other forum. The book proved very useful and the php I’m writing improved immensely. However I’m building now my own site and I would like to be able to shift between two languages: Spanish and English. I’m thinking about using 2 database connections but I’m not very sure how to do it. (in the public zone, and in the staff zone) Can you give me a general idea? In a couple of days or so I will receive your MySQL second edition, where from I’m hoping to get some more ideas. Thank you in advance for your help.
×
×
  • Create New...