Thread: Basic

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Posts
    137
    Rep Power
    0

    Basic


    To fully understand the core of PHP what steps I should go through ?

    My teacher teaching me the Basics of CMS then he said he will let me know how to build a shopping cart ... I don't think so it will cover the whole PHP and MySQL !!

    What you friends suggest me ?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jul 2003
    Posts
    4,473
    Rep Power
    653
    Here is as good a place as any to start with the basics of PHP. Then try this to put PHP, PDO and MySQL together. Just be careful to avoid any tutorials that use obsolete code. If it is not using PDO, ignore it. Don't copy code either as the majority of it is poorly written and/or just bad code in general.
    There are 10 kinds of people in the world. Those that understand binary and those that don't.
  4. #3
  5. Sarcky
    Devshed Supreme Being (6500+ posts)

    Join Date
    Oct 2006
    Location
    Pennsylvania, USA
    Posts
    10,884
    Rep Power
    6356
    Don't use w3schools either. A lot of people recommend it and it's wrong.

    Comments on this post

    • Jacques1 agrees
    HEY! YOU! Read the New User Guide and Forum Rules

    "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin

    "The greatest tragedy of this changing society is that people who never knew what it was like before will simply assume that this is the way things are supposed to be." -2600 Magazine, Fall 2002

    Think we're being rude? Maybe you asked a bad question or you're a Help Vampire. Trying to argue intelligently? Please read this.
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Posts
    137
    Rep Power
    0

    Sure !


    Thanks for these sites ... I will go through them, the problem with PDO is that I haven't learned the Class and Objects in PHP yet. He will take me there soon, because of it I am having little trouble in understanding the PDO syntax but well I`ll get it
  8. #5
  9. Mad Scientist
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Oct 2007
    Location
    North Yorkshire, UK
    Posts
    3,659
    Rep Power
    4128
    You don't need to know how to write classes and objects to use PDO

    All you need to know is the -> operator, which is really simple: it's like the / in the file system .

    Don't wait to be tought it, go and find out now. Read the mysql_ to PDO link in my signature
    I said I didn't like ORM!!! <?php $this->model->update($this->request->resources[0])->set($this->request->getData())->getData('count'); ?>

    PDO vs mysql_* functions: Find a Migration Guide Here

    [ Xeneco - T'interweb Development ] - [ Are you a Help Vampire? ] - [ Read The manual! ] - [ W3 methods - GET, POST, etc ] - [ Web Design Hell ]
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Posts
    137
    Rep Power
    0
    Northie which one is your link to PDO? I dint get it

    Comments on this post

    • Northie disagrees : You're going to struggle
  12. #7
  13. --
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Jul 2012
    Posts
    3,959
    Rep Power
    1018
    How about the one saying "PDO vs mysql_* functions: Find a Migration Guide Here"?
    The 6 worst sins of security ē How to (properly) access a MySQL database with PHP

    Why canít I use certain words like "drop" as part of my Security Question answers?
    There are certain words used by hackers to try to gain access to systems and manipulate data; therefore, the following words are restricted: "select," "delete," "update," "insert," "drop" and "null".
  14. #8
  15. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Posts
    137
    Rep Power
    0

    :p


    Originally Posted by Jacques1
    How about the one saying "PDO vs mysql_* functions: Find a Migration Guide Here"?
    heheeh I dint see it

IMN logo majestic logo threadwatch logo seochat tools logo