December 25th, 2013, 01:03 AM
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
December 25th, 2013, 09:23 AM
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 08:42 AM.
There are 10 kinds of people in the world. Those that understand binary and those that don't.