Jump to content
Larry Ullman's Book Forums

hassan

Members
  • Content Count

    45
  • Joined

  • Last visited

Community Reputation

0 Neutral

About hassan

  • Rank
    Member
  1. Hi In Chapter 1 it discusses variable and constants. Why would you not simply assign a value to a variable and then not change it as opposed to defining a constant? or is there other benefits by defining constants?
  2. Many thanks I think I get what you mean that would be a level above operating at the raw database level.
  3. Hi On page 645 the second tip mentions the DROP command and the REVOKE command. Would I be correct in assuming that: 1) We will use a DROP command for example if users wished to complete remove/close his or her account. 2) We will use REVOKE command for example when a users subscription ends so that we may remove read access to some paid for information
  4. apologies, I was missing out -u root -p when connecting to the MySQL client
  5. Hi I have tried to change the root password of MySQL after a fresh installation but have not been successful. I probably am missing something, but I have been following the installation instructions as given in the appendix. I also looked at Chapter 4 as well but I am not having any luck. I get the following output: MariaDB [(none)]> set password for 'root'@' localhost' = password('test123'); ERROR 1131 (42000): You are using MariaDB as an anonymous user and anonymous users are not allowed to modify user settings MariaDB [(none)]> I don't understand how I have become anonymous user and how do I change that.
  6. Hi Larry Thanks for the reply. I got the fourth edition and I actually ordered and received the fifth edition last week. Hassan
  7. Hi I think I have 4th edition of the book that has the shopping cart example. I want to learn PHP7 so I was thinking of obtaining the new version of the books. I wanted to know if the old shopping cart example will work? and is it compatible with PHP7? Also was there any reason for not including the shopping cart example in the 5th edition? many thanks .. Hassan
  8. Hi I wanted to ask will there be a new version of this book using object oriented code and php 7? Also to make the code php7 are there major areas of code that need to be re-written? Thanks in advance.. Hassan
  9. Thank again Sorry for asking too many questions ... I am enjoying it ... I started learning a while ago then stopped and now started again this time not to quit ... I realised alot of things I simply glossed over ... or didt type out all the code nor experimented much with the code ... this time round I am doing that and its alot more fun and I am enjoying it ... I think by being curious and trying out different things giving me more confidence to write my own little snippets ...
×
×
  • Create New...