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

    Join Date
    Dec 2013
    Rep Power

    Code for auto register

    how to create multiple tables in one db......i created db using PHP code...now i created db and admin table.....but i dont know how to give connection to users table
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jul 2003
    Rep Power
    First creating DBs and tables in PHP code is always a bad and dangerous idea. Why do you think you need to do that? Second, if you were able to connect to the DB engine (MySQL?) to create a DB and tables, why do you think connecting to your DB is any different? Did you read the PDO documentation or are you copying bad code from the internet (also a bad and dangerous idea)? You need to take a step back and read up on PHP security before even starting to write code.
    Last edited by gw1500se; December 27th, 2013 at 07:42 AM.
    There are 10 kinds of people in the world. Those that understand binary and those that don't.

IMN logo majestic logo threadwatch logo seochat tools logo